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

Commit 3493bc0

Browse files
author
Yuncong Zhang
committed
Fix open prefab showing nothing problem.
1 parent 59fc56f commit 3493bc0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Runtime/editor/editor_window.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ protected virtual TimeSpan getTime() {
166166

167167
void updatePhysicalSize() {
168168
var size = this.queryWindowSize();
169-
this._lastWindowWidth = size.x;
170-
this._lastWindowHeight = size.y;
171169
this._physicalSize = new Size(
172170
this._lastWindowWidth * this._devicePixelRatio,
173171
this._lastWindowHeight * this._devicePixelRatio);

0 commit comments

Comments
 (0)