[Haiku-commits] r22019 - haiku/trunk/src/apps/cortex/RouteApp

stippi at BerliOS stippi at mail.berlios.de
Tue Aug 21 00:23:18 CEST 2007


Author: stippi
Date: 2007-08-21 00:23:18 +0200 (Tue, 21 Aug 2007)
New Revision: 22019
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=22019&view=rev

Modified:
   haiku/trunk/src/apps/cortex/RouteApp/StatusView.cpp
Log:
* fixed broken invalidation on resizing the status view


Modified: haiku/trunk/src/apps/cortex/RouteApp/StatusView.cpp
===================================================================
--- haiku/trunk/src/apps/cortex/RouteApp/StatusView.cpp	2007-08-20 17:40:48 UTC (rev 22018)
+++ haiku/trunk/src/apps/cortex/RouteApp/StatusView.cpp	2007-08-20 22:23:18 UTC (rev 22019)
@@ -236,7 +236,9 @@
 		}
 		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) {




More information about the Haiku-commits mailing list