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

Commit fbebe91

Browse files
author
Yuncong Zhang
committed
Fix typo.
1 parent 3493bc0 commit fbebe91

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)