Fix DraggableContainerIcon drawing after recent BControlLook method signature
change for DrawMenuBarBackground(). The borders are passed one position later. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29632 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
cb6afcb146
commit
08ff393d50
@ -510,7 +510,7 @@ DraggableContainerIcon::Draw(BRect updateRect)
|
|||||||
BRect rect(Bounds());
|
BRect rect(Bounds());
|
||||||
rgb_color base = ui_color(B_MENU_BACKGROUND_COLOR);
|
rgb_color base = ui_color(B_MENU_BACKGROUND_COLOR);
|
||||||
be_control_look->DrawMenuBarBackground(this, rect, updateRect, base,
|
be_control_look->DrawMenuBarBackground(this, rect, updateRect, base,
|
||||||
0);
|
0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw the icon, straddling the border
|
// Draw the icon, straddling the border
|
||||||
|
@ -46,7 +46,7 @@ public:
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
virtual bool AddDynamicItem(add_state);
|
virtual bool AddDynamicItem(add_state state);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user