mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
Removed additional references to disabled HUD scrollbar knobs.
This commit is contained in:
@@ -882,16 +882,16 @@
|
||||
]
|
||||
isVertical:NO]);
|
||||
|
||||
var knobDisabledColor = PatternColor([[CPThreePartImage alloc] initWithImageSlices:
|
||||
/*var knobDisabledColor = PatternColor([[CPThreePartImage alloc] initWithImageSlices:
|
||||
[
|
||||
[_CPCibCustomResource imageResourceWithName:"HUD/scroller-horizontal-knob-disabled-left.png" size:CGSizeMake(10.0, 15.0)],
|
||||
[_CPCibCustomResource imageResourceWithName:"HUD/scroller-horizontal-knob-disabled-center.png" size:CGSizeMake(1.0, 15.0)],
|
||||
[_CPCibCustomResource imageResourceWithName:"HUD/scroller-horizontal-knob-disabled-right.png" size:CGSizeMake(10.0, 15.0)]
|
||||
]
|
||||
isVertical:NO]);
|
||||
isVertical:NO]);*/
|
||||
|
||||
[scroller setValue:knobColor forThemeAttribute:@"knob-color"];
|
||||
[scroller setValue:knobDisabledColor forThemeAttribute:@"knob-color" inState:CPThemeStateDisabled];
|
||||
//[scroller setValue:knobDisabledColor forThemeAttribute:@"knob-color" inState:CPThemeStateDisabled];
|
||||
|
||||
[scroller setFloatValue:0.1];
|
||||
[scroller setKnobProportion:0.5];
|
||||
|
||||
Reference in New Issue
Block a user