From 22f5a4e49264fe983a1d539025a98a79ec55645e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Mon, 20 Aug 2007 22:23:18 +0000 Subject: [PATCH] * fixed broken invalidation on resizing the status view git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22019 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/cortex/RouteApp/StatusView.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/apps/cortex/RouteApp/StatusView.cpp b/src/apps/cortex/RouteApp/StatusView.cpp index 0f5dc15e53..7a32945262 100644 --- a/src/apps/cortex/RouteApp/StatusView.cpp +++ b/src/apps/cortex/RouteApp/StatusView.cpp @@ -236,7 +236,9 @@ void StatusView::MouseMoved( } ResizeBy(x, 0.0); BRect r(Bounds()); - r.left = r.right - 10.0; + r.left = r.right - 5.0; + if (x > 0) + r.left -= x; m_dirty = true; Invalidate(r); if (m_scrollBar) {