Skip to content

Commit

Permalink
commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chenliangloveyou committed Dec 27, 2017
1 parent 81f24b6 commit 32578ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EasyShowView/EasyShowTextView.m
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ - (CGRect)showRectWithSpuerView:(UIView *)superView
CGRect showFrame = CGRectMake(0, showFrameY, backGroundW, backGroundH);

if (!self.options.textSuperViewReceiveEvent) {
showFrame.origin = CGPointMake((self.width-backGroundW)/2, showFrameY) ;
showFrame.origin = CGPointMake((superView.width-backGroundW)/2, showFrameY) ;
}

return showFrame ;
Expand Down
Binary file not shown.

0 comments on commit 32578ab

Please sign in to comment.