Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 0de8d5a

Browse files
authored
Merge pull request #182 from Unity-Technologies/fix_transform_issue
fix initiate transform issue on view
2 parents f07d565 + c9f7d81 commit 0de8d5a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2867,7 +2867,7 @@ protected override bool alwaysNeedsCompositing {
28672867
return;
28682868
}
28692869

2870-
layer = value;
2870+
base.layer = value;
28712871
}
28722872
}
28732873

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public ViewConfiguration(
2020
public readonly float devicePixelRatio;
2121

2222
public Matrix4 toMatrix() {
23-
return Matrix4.diagonal3Values(devicePixelRatio, devicePixelRatio, 0);
23+
return Matrix4.diagonal3Values(devicePixelRatio, devicePixelRatio, 1);
2424
}
2525

2626
public override string ToString() {

0 commit comments

Comments
 (0)