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.
|
/// [AnnotatedRegionLayer]s annotated for mouse tracking.
|
||||||
HitTestResult hitTestMouseTrackers(Offset position) {
|
HitTestResult hitTestMouseTrackers(Offset position) {
|
||||||
assert(position != null);
|
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();
|
final BoxHitTestResult result = BoxHitTestResult();
|
||||||
hitTest(result, position: position);
|
hitTest(result, position: position);
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user