mirror of
https://review.haiku-os.org/haiku
synced 2025-01-18 12:38:51 +01:00
Deskbar: Always AdoptParentColors() on StatusView
... be_control_look is assumed. Change-Id: If41f74ede3debd5439093e0172294861f65f5d6b Reviewed-on: https://review.haiku-os.org/c/haiku/+/8832 Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
e7735d59c3
commit
297aa21e46
@ -180,11 +180,7 @@ TReplicantTray::AttachedToWindow()
|
||||
{
|
||||
BView::AttachedToWindow();
|
||||
|
||||
if (be_control_look != NULL) {
|
||||
AdoptParentColors();
|
||||
} else {
|
||||
SetViewUIColor(B_MENU_BACKGROUND_COLOR, B_DARKEN_1_TINT);
|
||||
}
|
||||
SetDrawingMode(B_OP_COPY);
|
||||
|
||||
Window()->SetPulseRate(1000000);
|
||||
@ -1373,10 +1369,7 @@ TDragRegion::AttachedToWindow()
|
||||
|
||||
CalculateRegions();
|
||||
|
||||
if (be_control_look != NULL)
|
||||
SetViewUIColor(B_MENU_BACKGROUND_COLOR, 1.1);
|
||||
else
|
||||
SetViewUIColor(B_MENU_BACKGROUND_COLOR);
|
||||
|
||||
ResizeToPreferred();
|
||||
}
|
||||
@ -1789,10 +1782,7 @@ TResizeControl::AttachedToWindow()
|
||||
{
|
||||
BView::AttachedToWindow();
|
||||
|
||||
if (be_control_look != NULL)
|
||||
SetViewUIColor(B_MENU_BACKGROUND_COLOR, 1.1);
|
||||
else
|
||||
SetViewUIColor(B_MENU_BACKGROUND_COLOR);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user