浏览代码

Merge pull request #250 from UnityTech/fix_prefab

Fix prefab issue.
/main
GitHub 5 年前
当前提交
63d38fa9
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Runtime/editor/editor_window.cs

4
Runtime/editor/editor_window.cs


void updatePhysicalSize() {
var size = this.queryWindowSize();
this._physicalSize = new Size(
this._lastWindowWidth * this._devicePixelRatio,
this._lastWindowHeight * this._devicePixelRatio);
size.x * this._devicePixelRatio,
size.y * this._devicePixelRatio);
}

正在加载...
取消
保存