Video avatar fixes

This commit is contained in:
Ilya Laktyushin
2020-07-16 17:07:16 +03:00
parent 2abe662fed
commit f041a7df2e
10 changed files with 71 additions and 76 deletions

View File

@@ -1900,6 +1900,8 @@ const CGFloat TGPhotoPaintStickerKeyboardSize = 260.0f;
- (void)transitionOutSwitching:(bool)__unused switching completion:(void (^)(void))completion
{
[_stickersScreen invalidate];
TGPhotoEditorPreviewView *previewView = self.previewView;
previewView.interactionEnded = nil;
@@ -1931,9 +1933,7 @@ const CGFloat TGPhotoPaintStickerKeyboardSize = 260.0f;
- (void)_animatePreviewViewTransitionOutToFrame:(CGRect)targetFrame saving:(bool)saving parentView:(UIView *)parentView completion:(void (^)(void))completion
{
_dismissing = true;
[_stickersScreen invalidate];
[_entitySelectionView removeFromSuperview];
_entitySelectionView = nil;