Author: toshok
Date: 2007-07-10 16:04:17 -0400 (Tue, 10 Jul 2007)
New Revision: 81741

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/canvas.cpp
Log:
2007-07-10  Chris Toshok  <[EMAIL PROTECTED]>

        * canvas.cpp (Canvas::InsideObject): revert the change that helped
        dr.popper because it breaks lunareclipse.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-07-10 19:45:15 UTC (rev 81740)
+++ trunk/moon/src/ChangeLog    2007-07-10 20:04:17 UTC (rev 81741)
@@ -1,3 +1,8 @@
+2007-07-10  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * canvas.cpp (Canvas::InsideObject): revert the change that helped
+       dr.popper because it breaks lunareclipse.
+
 2007-07-09  Chris Toshok  <[EMAIL PROTECTED]>
 
        * demo.cpp: don't pass the parser callbacks to the individual xaml

Modified: trunk/moon/src/canvas.cpp
===================================================================
--- trunk/moon/src/canvas.cpp   2007-07-10 19:45:15 UTC (rev 81740)
+++ trunk/moon/src/canvas.cpp   2007-07-10 20:04:17 UTC (rev 81741)
@@ -177,11 +177,10 @@
 bool
 Canvas::InsideObject (cairo_t *cr, double x, double y)
 {
-#if false
        /* if we have explicitly set width/height, we check them */
-       if (!FrameworkElement::InsideObject (cr, x, y))
-               return false;
-#endif
+       if (FrameworkElement::InsideObject (cr, x, y)) {
+               return true;
+       }
 
        /* otherwise we try to figure out if we're inside one of our child 
elements */
        UIElement *mouseover = FindMouseOver (cr, x, y);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to