Unverified Commit 3955ef0d authored by Tong Mu's avatar Tong Mu Committed by GitHub

Update view.dart (#81373)

parent 001323a2
......@@ -183,9 +183,6 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox>
/// [AnnotatedRegionLayer]s annotated for mouse tracking.
HitTestResult hitTestMouseTrackers(Offset position) {
assert(position != null);
// Layer hit testing is done using device pixels, so we have to convert
// the logical coordinates of the event location back to device pixels
// here.
final BoxHitTestResult result = BoxHitTestResult();
hitTest(result, position: position);
return result;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment