diff mde/gui/widget/miscContent.d @ 176:d5d5fe04ca6c

Fixes to CollapsibleWidget. Disabled AChildWidget.invariant.
author Diggory Hardy <diggory.hardy@gmail.com>
date Sat, 12 Sep 2009 09:14:43 +0200
parents 1cbde9807293
children af40e9679436
line wrap: on
line diff
--- a/mde/gui/widget/miscContent.d	Fri Sep 11 20:56:53 2009 +0200
+++ b/mde/gui/widget/miscContent.d	Sat Sep 12 09:14:43 2009 +0200
@@ -89,10 +89,8 @@
 	if (!(flags & 3)) return false;	// string or renderer (and possibly font) changed
 	adapter.text = content_.toString(1);
 	adapter.getDimensions (mw, mh);
-	if (mw != w || mh != h) {
-	    w = mw;
-	    h = mh;
-	}
+	w = mw;
+	h = mh;
 	return true;
     }