Now is transparent on the desktop as other replicants.
This commit is contained in:
@@ -243,9 +243,12 @@ void
|
|||||||
NetworkStatusView::AttachedToWindow()
|
NetworkStatusView::AttachedToWindow()
|
||||||
{
|
{
|
||||||
BView::AttachedToWindow();
|
BView::AttachedToWindow();
|
||||||
if (Parent())
|
if (Parent() != NULL) {
|
||||||
SetViewColor(Parent()->ViewColor());
|
if ((Parent()->Flags() & B_DRAW_ON_CHILDREN) != 0)
|
||||||
|
SetViewColor(B_TRANSPARENT_COLOR);
|
||||||
else
|
else
|
||||||
|
SetViewColor(Parent()->ViewColor());
|
||||||
|
} else
|
||||||
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
|
||||||
|
|
||||||
SetLowColor(ViewColor());
|
SetLowColor(ViewColor());
|
||||||
|
|||||||
Reference in New Issue
Block a user