浏览代码

fix view configuration issue

/siyaoH-1.17-PlatformMessage
xingweizhu 4 年前
当前提交
8c854a5b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      com.unity.uiwidgets/Runtime/rendering/view.cs

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


public readonly float devicePixelRatio;
public Matrix4 toMatrix() {
// return new Matrix4().diagonal3Values(this.devicePixelRatio, this.devicePixelRatio, 0);
return new Matrix4().identity();
return new Matrix4().diagonal3Values(this.devicePixelRatio, this.devicePixelRatio, 0);
//return new Matrix4().identity();
}
public override string ToString() {

正在加载...
取消
保存