BSlider - Don't Use Control Mark Color
This returns BSlider to its original appearance. Signed-off-by: Adrien Destugues <[email protected]> Fixes #12578.
This commit is contained in:
committed by
Adrien Destugues
parent
b8dd04e428
commit
9909ce416d
@@ -1015,7 +1015,7 @@ BSlider::DrawHashMarks()
|
|||||||
BView* view = OffscreenView();
|
BView* view = OffscreenView();
|
||||||
|
|
||||||
if (be_control_look != NULL) {
|
if (be_control_look != NULL) {
|
||||||
rgb_color base = ui_color(B_CONTROL_MARK_COLOR);
|
rgb_color base = ui_color(B_PANEL_BACKGROUND_COLOR);
|
||||||
uint32 flags = be_control_look->Flags(this);
|
uint32 flags = be_control_look->Flags(this);
|
||||||
be_control_look->DrawSliderHashMarks(view, frame, frame, base,
|
be_control_look->DrawSliderHashMarks(view, frame, frame, base,
|
||||||
fHashMarkCount, fHashMarks, flags, fOrientation);
|
fHashMarkCount, fHashMarks, flags, fOrientation);
|
||||||
|
|||||||
Reference in New Issue
Block a user