mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
Update view.dart (#81373)
This commit is contained in:
parent
001323a275
commit
3955ef0d02
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue