|
@@ -114,6 +114,13 @@ export class WindowHelper {
|
|
|
return WindowHelper._isFullScreen ? WindowHelper._topRectHeight : 0
|
|
|
}
|
|
|
|
|
|
+ public static get windowsWidth(){
|
|
|
+ return px2vp(display.getDefaultDisplaySync().width)
|
|
|
+ }
|
|
|
+
|
|
|
+ public static get windowsHeight(){
|
|
|
+ return px2vp(display.getDefaultDisplaySync().height)
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 设置是否全屏
|