Skip to content

Instantly share code, notes, and snippets.

@lewing
Created September 15, 2010 13:25
Show Gist options
  • Save lewing/580713 to your computer and use it in GitHub Desktop.
Save lewing/580713 to your computer and use it in GitHub Desktop.
diff --git a/src/frameworkelement.cpp b/src/frameworkelement.cpp
index 6f685c0..45b7a0e 100644
--- a/src/frameworkelement.cpp
+++ b/src/frameworkelement.cpp
@@ -419,10 +419,6 @@ FrameworkElement::HitTest (cairo_t *cr, Point p, List *uielement_list)
if (!GetHitTestVisible ())
return;
- // first a quick bounds check
- if (!GetSubtreeBounds().PointInside (p.x, p.y))
- return;
-
/* the clip property is global so we can short out here */
if (!InsideClip (cr, p.x, p.y))
return;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment