未验证 提交 46d7bf9d 编写于 作者: D David Worsham 提交者: GitHub

fuchsia: Fix incorrect scale (#23047)

上级 405b105f
......@@ -125,7 +125,7 @@ void SceneUpdateContext::Reset(const SkISize& frame_size,
// Adjust scene scaling to match the device pixel ratio.
const float inv_dpr = 1.0f / device_pixel_ratio;
metrics_node_.SetScale(inv_dpr, inv_dpr, 1.0f);
layer_tree_node_.SetScale(inv_dpr, inv_dpr, 1.0f);
// Set up the input interceptor at the top of the scene, if applicable.
if (input_interceptor_node_.has_value()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册