Fix bug: Update backgroundColor when buttonsBackgroundColor didSet
commitc6f44c7245e88856662f65b21419e2484b7633cb
authorGunay Mert Karadogan <mertkaradogan@gmail.com>
dateFri 3 Jul 2015, 18:40 (11 years ago)
parent2ef69cc
GMStepper/GMStepper/GMStepper.swift+1
@@ -57,6 +57,7 @@ import UIKit
5757 for button in [leftButton, rightButton] {
5858 button.backgroundColor = buttonsBackgroundColor
5959 }
60+ backgroundColor = buttonsBackgroundColor
6061 }
6162 }
6263