Various improvements

This commit is contained in:
Ilya Laktyushin
2022-04-24 06:30:30 +04:00
parent c929cce94f
commit b9f141aae4
10 changed files with 279 additions and 151 deletions

View File

@@ -45,6 +45,7 @@
_explicit = explicit;
_sliderView = [[TGPhotoEditorSliderView alloc] initWithFrame:CGRectZero];
_sliderView.enablePanHandling = true;
if (editorItem.segmented)
_sliderView.positionsCount = (NSInteger)editorItem.maximumValue + 1;
_sliderView.minimumValue = editorItem.minimumValue;