Deskbar: draw resize rect in Bounds() not updateRect
it draws correctly most of the time but when you open and close the menu it doesn't. Fixes #13740
This commit is contained in:
@@ -1673,7 +1673,7 @@ TResizeControl::Draw(BRect updateRect)
|
|||||||
if (!fBarView->Vertical())
|
if (!fBarView->Vertical())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
BRect dragRegion(updateRect);
|
BRect dragRegion(Bounds());
|
||||||
|
|
||||||
int32 height = dragRegion.IntegerHeight();
|
int32 height = dragRegion.IntegerHeight();
|
||||||
if (height <= 0)
|
if (height <= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user