Skip to content

Commit

Permalink
fix #274
Browse files Browse the repository at this point in the history
  • Loading branch information
longitachi committed Jul 11, 2018
1 parent dbde55d commit a0988c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhotoBrowser/ZLThumbnailViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ - (void)viewDidLayoutSubviews
self.btnPreView.frame = CGRectMake(offsetX, 7, GetMatchValue(GetLocalLanguageTextValue(ZLPhotoBrowserPreviewText), 15, YES, bottomBtnH), bottomBtnH);
offsetX = CGRectGetMaxX(self.btnPreView.frame) + 10;

if (configuration.allowSelectOriginal) {
if (configuration.allowSelectOriginal && configuration.allowSelectImage) {
self.btnOriginalPhoto.frame = CGRectMake(offsetX, 7, GetMatchValue(GetLocalLanguageTextValue(ZLPhotoBrowserOriginalText), 15, YES, bottomBtnH)+25, bottomBtnH);
offsetX = CGRectGetMaxX(self.btnOriginalPhoto.frame) + 5;

Expand Down

0 comments on commit a0988c1

Please sign in to comment.