File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Objective-C/TOCropViewController/Views Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ - (void)layoutToolbarButtons:(NSArray *)buttons withSameButtonSize:(CGSize)size
294
294
295
295
for (NSInteger i = 0 ; i < count; i++) {
296
296
UIButton *button = buttons[i];
297
- CGFloat sameOffset = horizontally ? fabs (CGRectGetHeight (containerRect)-CGRectGetHeight (button. bounds ) ) : fabs (CGRectGetWidth (containerRect)-CGRectGetWidth (button.bounds ));
297
+ CGFloat sameOffset = horizontally ? fabs (CGRectGetHeight (containerRect)-44 . 0f ) : fabs (CGRectGetWidth (containerRect)-CGRectGetWidth (button.bounds ));
298
298
CGFloat diffOffset = padding + i * (fixedSize + padding);
299
299
CGPoint origin = horizontally ? CGPointMake (diffOffset, sameOffset) : CGPointMake (sameOffset, diffOffset);
300
300
if (horizontally) {
You can’t perform that action at this time.
0 commit comments