Index: src/views/SkView.cpp |
diff --git a/src/views/SkView.cpp b/src/views/SkView.cpp |
index 249737a64b6177a1d7d3209ddfefbd44cf32fe33..ec75d610aaf6ec24f69bdb99c5b45943e1f96456 100644 |
--- a/src/views/SkView.cpp |
+++ b/src/views/SkView.cpp |
@@ -378,12 +378,16 @@ SkView::Click* SkView::findClickHandler(SkScalar x, SkScalar y, unsigned modi) { |
F2BIter iter(this); |
SkView* child; |
- while ((child = iter.next()) != nullptr) |
- { |
+ while ((child = iter.next()) != nullptr) { |
SkPoint p; |
+#if 0 |
if (!child->globalToLocal(x, y, &p)) { |
continue; |
} |
+#else |
+ // the above seems broken, so just respecting fLoc for now <reed> |
+ p.set(x - child->fLoc.x(), y - child->fLoc.y()); |
+#endif |
Click* click = child->findClickHandler(p.fX, p.fY, modi); |