From c3ef9446e6612de5bd103006091b5fb27885dc32 Mon Sep 17 00:00:00 2001 From: Dan Field Date: Sun, 25 Aug 2019 20:06:12 -0700 Subject: [PATCH] update method for skia (flutter/engine#11436) --- .../darwin/ios/framework/Source/accessibility_bridge.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm index cc1646d952..ddd5478f8c 100644 --- a/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm +++ b/engine/src/flutter/shell/platform/darwin/ios/framework/Source/accessibility_bridge.mm @@ -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