From cae4d4b5b508a666fbd0dff3c2a981fdff841bc8 Mon Sep 17 00:00:00 2001
From: wjc <1243177876@qq.com>
Date: 星期四, 30 三月 2023 13:10:33 +0800
Subject: [PATCH] Merge branch 'Dev-Branch' into wjc

---
 HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs
index b108f57..0eb7ff8 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs
@@ -421,6 +421,10 @@
                 SelectedImagePath = "FunctionIcon/Light/LightScene/CheckOnIcon.png",
                 IsSelected = functions.Find((obj) => obj.deviceId == function.deviceId) != null
             };
+            if (DB_ResidenceData.Instance.CurrentRegion.isSupportGroupControl)
+            {
+                btnSelect.X = Application.GetRealWidth(323);
+            }
             bodyDiv.AddChidren(btnSelect);
             
             btnSelect.MouseUpEventHandler = (sender, e) => {

--
Gitblit v1.8.0