浏览代码

Merge pull request #182 from Unity-Technologies/fix_transform_issue

fix initiate transform issue on view
/main
GitHub 3 年前
当前提交
76b85427
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      com.unity.uiwidgets/Runtime/rendering/proxy_box.cs
  2. 2
      com.unity.uiwidgets/Runtime/rendering/view.cs

2
com.unity.uiwidgets/Runtime/rendering/proxy_box.cs


return;
}
layer = value;
base.layer = value;
}
}

2
com.unity.uiwidgets/Runtime/rendering/view.cs


public readonly float devicePixelRatio;
public Matrix4 toMatrix() {
return Matrix4.diagonal3Values(devicePixelRatio, devicePixelRatio, 0);
return Matrix4.diagonal3Values(devicePixelRatio, devicePixelRatio, 1);
}
public override string ToString() {

正在加载...
取消
保存