Video editing preview

This commit is contained in:
Ilya Laktyushin
2020-05-14 19:40:27 +01:00
parent d7e7b968ca
commit ec68cb0d19
44 changed files with 1050 additions and 167 deletions

View File

@@ -446,11 +446,8 @@ const CGFloat TGPhotoEditorToolbarSize = 49.0f;
if ([editorValues hasPainting])
highlightedButtons |= TGPhotoEditorPaintTab;
if ([editorValues isKindOfClass:[PGPhotoEditorValues class]])
{
if ([(PGPhotoEditorValues *)editorValues toolsApplied])
highlightedButtons |= TGPhotoEditorToolsTab;
}
if ([editorValues toolsApplied])
highlightedButtons |= TGPhotoEditorToolsTab;
return highlightedButtons;
}