mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-29 09:52:03 +00:00
fix [CPButton setObjectValue:CPOnState]
This commit is contained in:
1 parent
eee1dcef13
commit
c2bab5b369
1 file changed
+1
-1
+1
-1
@@ -203,7 +203,7 @@ CPButtonImageOffset = 3.0;
|
||||
else if (![anObjectValue isKindOfClass:[CPNumber class]])
|
||||
anObjectValue = CPOnState;
|
||||
|
||||
else if (anObjectValue > CPOnState)
|
||||
else if (anObjectValue >= CPOnState)
|
||||
anObjectValue = CPOnState
|
||||
|
||||
else if (anObjectValue < CPOffState)
|
||||
|
||||
Reference in new issue
Block a user