Author: lewing
Date: 2007-11-06 23:18:51 -0500 (Tue, 06 Nov 2007)
New Revision: 89067
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/frameworkelement.cpp
Log:
2007-11-06 Larry Ewing <[EMAIL PROTECTED]>
* src/frameworkelement.cpp: Force a full invalidate if the width
or height property because panels include their children in the
bounds compution and will pass the dirty check.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-11-07 03:44:09 UTC (rev 89066)
+++ trunk/moon/src/ChangeLog 2007-11-07 04:18:51 UTC (rev 89067)
@@ -1,5 +1,9 @@
2007-11-06 Larry Ewing <[EMAIL PROTECTED]>
+ * src/frameworkelement.cpp: Force a full invalidate if the width
+ or height property because panels include their children in the
+ bounds compution and will pass the dirty check.
+
* media.cpp: Implement the Region based rendering for MediaElement
and Image.
Modified: trunk/moon/src/frameworkelement.cpp
===================================================================
--- trunk/moon/src/frameworkelement.cpp 2007-11-07 03:44:09 UTC (rev 89066)
+++ trunk/moon/src/frameworkelement.cpp 2007-11-07 04:18:51 UTC (rev 89067)
@@ -34,12 +34,7 @@
element on a width/height change, but if the render
transform is someplace other than (0,0), the
transform needs to be updated as well. */
- if (p.x != 0.0 || p.y != 0.0) {
- UpdateTransform ();
- }
- else {
- UpdateBounds ();
- }
+ FullInvalidate (p.x != 0.0 || p.y != 0.0);
}
NotifyAttachersOfPropertyChange (prop);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches