Skip to content

Commit

Permalink
Merge pull request #252 from oliveroneill/done_button_position_fix
Browse files Browse the repository at this point in the history
Fix incorrect done button position
  • Loading branch information
eduardocallado authored May 25, 2017
2 parents bfbfa03 + 1ab16d6 commit 4037cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/IDMPhotoBrowser.m
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ - (void)viewDidLoad {
_doneButton.layer.cornerRadius = 3.0f;
_doneButton.layer.borderColor = [UIColor colorWithWhite:0.9 alpha:0.9].CGColor;
_doneButton.layer.borderWidth = 1.0f;
_doneButtonSize = _doneButtonImage.size;
_doneButtonSize = _doneButton.frame.size;
}
else {
[_doneButton setImage:_doneButtonImage forState:UIControlStateNormal];
Expand Down

0 comments on commit 4037cdb

Please sign in to comment.