mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-08 03:16:49 +08:00
修改注释
This commit is contained in:
@@ -71,7 +71,7 @@ export class GUI extends Component {
|
||||
this.portrait = true;
|
||||
}
|
||||
|
||||
// 手工修改canvas和设计分辨率,这样反复调用也能生效。
|
||||
// 通过设置设计分辨率和匹配模式来进行游戏画面的屏幕适配
|
||||
view.setDesignResolutionSize(finalW, finalH, ResolutionPolicy.UNKNOWN);
|
||||
this.transform.width = finalW;
|
||||
this.transform.height = finalH;
|
||||
|
||||
Reference in New Issue
Block a user