update method for skia (#11436)

This commit is contained in:
Dan Field 2019-08-25 20:06:12 -07:00 committed by GitHub
parent ceeedab1f9
commit d4932ba714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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