Skip to content

Commit 46d7bf9

Browse files
authored
fuchsia: Fix incorrect scale (flutter#23047)
1 parent 405b105 commit 46d7bf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flow/scene_update_context.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void SceneUpdateContext::Reset(const SkISize& frame_size,
125125

126126
// Adjust scene scaling to match the device pixel ratio.
127127
const float inv_dpr = 1.0f / device_pixel_ratio;
128-
metrics_node_.SetScale(inv_dpr, inv_dpr, 1.0f);
128+
layer_tree_node_.SetScale(inv_dpr, inv_dpr, 1.0f);
129129

130130
// Set up the input interceptor at the top of the scene, if applicable.
131131
if (input_interceptor_node_.has_value()) {

0 commit comments

Comments
 (0)