mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various improvements
This commit is contained in:
@@ -266,6 +266,7 @@ const CGFloat TGPhotoEditorToolsLandscapePanelSize = TGPhotoEditorToolsPanelSize
|
||||
_portraitCollectionView.toolsDataSource = self;
|
||||
_portraitCollectionView.interactionBegan = _interactionBegan;
|
||||
_portraitCollectionView.interactionEnded = _interactionEnded;
|
||||
_portraitCollectionView.canCancelContentTouches = true;
|
||||
[_portraitToolsWrapperView addSubview:_portraitCollectionView];
|
||||
|
||||
if (!TGIsPad())
|
||||
@@ -278,6 +279,7 @@ const CGFloat TGPhotoEditorToolsLandscapePanelSize = TGPhotoEditorToolsPanelSize
|
||||
_landscapeCollectionView.toolsDataSource = self;
|
||||
_landscapeCollectionView.interactionBegan = _interactionBegan;
|
||||
_landscapeCollectionView.interactionEnded = _interactionEnded;
|
||||
_landscapeCollectionView.canCancelContentTouches = true;
|
||||
[_landscapeToolsWrapperView addSubview:_landscapeCollectionView];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user