We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fccab6e commit dc75191Copy full SHA for dc75191
1 file changed
Classes/BEMCheckBox.m
@@ -160,7 +160,7 @@ - (void)drawRect:(CGRect)rect {
160
*/
161
- (void)drawEntireCheckBox {
162
if (!self.hideBox) {
163
- if (!self.offBoxLayer && self.pathManager.size != 0) {
+ if (!self.offBoxLayer || CGPathGetBoundingBox(self.offBoxLayer.path).size.height == 0.0) {
164
[self drawOffBox];
165
}
166
if (self.on) {
0 commit comments