Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Friend-LGA committed Dec 1, 2015
1 parent 4fe16f2 commit 2eaf50f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LGAlertView.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = 'LGAlertView'
s.version = '2.0.12'
s.version = '2.0.13'
s.platform = :ios, '6.0'
s.license = 'MIT'
s.homepage = 'https://github.com/Friend-LGA/LGAlertView'
Expand Down
2 changes: 1 addition & 1 deletion LGAlertView/LGAlertView.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#define kLGAlertViewWidthStyleAlert (320.f - 20*2)
#define kLGAlertViewWidthStyleActionSheet (320.f - 16*2)
#define kLGAlertViewInnerMarginH (_style == LGAlertViewStyleAlert ? 16.f : 12.f)
#define kLGAlertViewIsCancelButtonSeparate(alertView) (alertView.style == LGAlertViewStyleActionSheet && alertView.cancelButtonOffsetY != NSNotFound && !kLGAlertViewPadAndNotForce(alertView))
#define kLGAlertViewIsCancelButtonSeparate(alertView) (alertView.style == LGAlertViewStyleActionSheet && alertView.cancelButtonOffsetY != NSNotFound && alertView.cancelButtonOffsetY > 0.f && !kLGAlertViewPadAndNotForce(alertView))
#define kLGAlertViewButtonWidthMin 64.f
#define kLGAlertViewWindowPrevious(index) (index > 0 && index < kLGAlertViewWindowsArray.count ? [kLGAlertViewWindowsArray objectAtIndex:(index-1)] : nil)
#define kLGAlertViewWindowNext(index) (kLGAlertViewWindowsArray.count > index+1 ? [kLGAlertViewWindowsArray objectAtIndex:(index+1)] : nil)
Expand Down

0 comments on commit 2eaf50f

Please sign in to comment.