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:
John Scipione 2017-10-24 22:14:52 -07:00
parent 615417e5ba
commit 092e918baa

View File

@ -1673,7 +1673,7 @@ TResizeControl::Draw(BRect updateRect)
if (!fBarView->Vertical())
return;
BRect dragRegion(updateRect);
BRect dragRegion(Bounds());
int32 height = dragRegion.IntegerHeight();
if (height <= 0)