Skip to content

Commit f7dbbf4

Browse files
committed
Fixed incorrect layout of vertical tool bar
1 parent 362ad4d commit f7dbbf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objective-C/TOCropViewController/TOCropViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ - (CGRect)frameForToolbarWithVerticalLayout:(BOOL)verticalLayout {
290290
#else
291291
CGFloat minPadding = 16.0f;
292292
#endif
293-
frame.origin.x = insets.left;
293+
frame.origin.x = minPadding + insets.left;
294294
frame.origin.y = minPadding + insets.top;
295295
frame.size.width = kTOCropViewControllerToolbarHeight;
296296
frame.size.height = CGRectGetHeight(self.view.frame) - (minPadding * 2.0f) - insets.top - insets.bottom;

0 commit comments

Comments
 (0)