UI核心库 更改窗口继承 是否启用Layer判断
This commit is contained in:
parent
3c73480642
commit
bbcfc17280
|
|
@ -184,7 +184,7 @@ class Yosin_Window extends Yosin_BaseWindow {
|
||||||
//是否为独立窗口
|
//是否为独立窗口
|
||||||
IsIndependent = true;
|
IsIndependent = true;
|
||||||
|
|
||||||
constructor(gObjectId, gX, gY, gWidth, gHeight, gTitleH) {
|
constructor(gObjectId, gX, gY, gWidth, gHeight, gTitleH, IsLayer = false) {
|
||||||
ObjectId = gObjectId;
|
ObjectId = gObjectId;
|
||||||
//宽度
|
//宽度
|
||||||
Width = gWidth;
|
Width = gWidth;
|
||||||
|
|
@ -199,7 +199,7 @@ class Yosin_Window extends Yosin_BaseWindow {
|
||||||
Y = gY;
|
Y = gY;
|
||||||
|
|
||||||
//调用原生方法
|
//调用原生方法
|
||||||
base.constructor(true);
|
base.constructor(IsLayer);
|
||||||
|
|
||||||
SetSize(Width, Height);
|
SetSize(Width, Height);
|
||||||
SyncPos(X, Y);
|
SyncPos(X, Y);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue