Skip to content

Commit

Permalink
Merge pull request #205 from pontago/master
Browse files Browse the repository at this point in the history
Fix a button background color bug.
  • Loading branch information
vikmeup authored Jul 7, 2016
2 parents 4047936 + c0dc7cc commit ee8d6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SCLAlertView/SCLAlertView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ public class SCLAlertView: UIViewController {
}

func buttonRelease(btn:SCLButton) {
btn.backgroundColor = btn.customBackgroundColor
btn.backgroundColor = btn.customBackgroundColor ?? viewColor
}

var tmpContentViewFrameOrigin: CGPoint?
Expand Down

0 comments on commit ee8d6d8

Please sign in to comment.