mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Camera and media editor improvements
This commit is contained in:
@@ -396,7 +396,9 @@ const CGFloat TGPhotoEditorSliderViewInternalMargin = 7.0f;
|
||||
if (_minimumValue < 0)
|
||||
{
|
||||
CGFloat knob = knobSize;
|
||||
if ((NSInteger)value == 0)
|
||||
if (fabs(_minimumValue) > 1.0 && (NSInteger)value == 0) {
|
||||
return totalLength / 2;
|
||||
} else if (fabs(value) < 0.01)
|
||||
{
|
||||
return totalLength / 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user