From 092e918baa01c2d2b818aec606040a3a9215126e Mon Sep 17 00:00:00 2001 From: John Scipione Date: Tue, 24 Oct 2017 22:14:52 -0700 Subject: [PATCH] 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 --- src/apps/deskbar/StatusView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/deskbar/StatusView.cpp b/src/apps/deskbar/StatusView.cpp index df972af2f9..5fd30a02ba 100644 --- a/src/apps/deskbar/StatusView.cpp +++ b/src/apps/deskbar/StatusView.cpp @@ -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)