mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
update method for skia (#11436)
This commit is contained in:
parent
ceeedab1f9
commit
d4932ba714
@ -270,7 +270,7 @@ flutter::SemanticsAction GetSemanticsActionForScrollDirection(
|
||||
point.set(vector[0] / vector[3], vector[1] / vector[3]);
|
||||
}
|
||||
SkRect rect;
|
||||
rect.set(quad, 4);
|
||||
rect.setBounds(quad, 4);
|
||||
|
||||
// `rect` is in the physical pixel coordinate system. iOS expects the accessibility frame in
|
||||
// the logical pixel coordinate system. Therefore, we divide by the `scale` (pixel ratio) to
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user