Skip to content
This repository was archived by the owner on Apr 29, 2021. It is now read-only.

Commit 0533f6a

Browse files
authored
Merge pull request #250 from UnityTech/fix_prefab
Fix prefab issue.
2 parents 8c63190 + fbebe91 commit 0533f6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Runtime/editor/editor_window.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ protected virtual TimeSpan getTime() {
167167
void updatePhysicalSize() {
168168
var size = this.queryWindowSize();
169169
this._physicalSize = new Size(
170-
this._lastWindowWidth * this._devicePixelRatio,
171-
this._lastWindowHeight * this._devicePixelRatio);
170+
size.x * this._devicePixelRatio,
171+
size.y * this._devicePixelRatio);
172172
}
173173

174174

0 commit comments

Comments
 (0)