From bbcfc1728025c14a954b054b290651ddfc9971c4 Mon Sep 17 00:00:00 2001 From: Lenheart <947330670@qq.com> Date: Mon, 16 Dec 2024 20:32:11 +0800 Subject: [PATCH] =?UTF-8?q?UI=E6=A0=B8=E5=BF=83=E5=BA=93=20=E6=9B=B4?= =?UTF-8?q?=E6=94=B9=E7=AA=97=E5=8F=A3=E7=BB=A7=E6=89=BF=20=E6=98=AF?= =?UTF-8?q?=E5=90=A6=E5=90=AF=E7=94=A8Layer=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sqr/Core/UI_Class/UI_Core.nut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqr/Core/UI_Class/UI_Core.nut b/sqr/Core/UI_Class/UI_Core.nut index 4f4216e..6d5b916 100644 --- a/sqr/Core/UI_Class/UI_Core.nut +++ b/sqr/Core/UI_Class/UI_Core.nut @@ -184,7 +184,7 @@ class Yosin_Window extends Yosin_BaseWindow { //是否为独立窗口 IsIndependent = true; - constructor(gObjectId, gX, gY, gWidth, gHeight, gTitleH) { + constructor(gObjectId, gX, gY, gWidth, gHeight, gTitleH, IsLayer = false) { ObjectId = gObjectId; //宽度 Width = gWidth; @@ -199,7 +199,7 @@ class Yosin_Window extends Yosin_BaseWindow { Y = gY; //调用原生方法 - base.constructor(true); + base.constructor(IsLayer); SetSize(Width, Height); SyncPos(X, Y);