From 613aec6974fccad5e4c07f745b58b3e93d4e8b82 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期一, 06 十一月 2023 16:17:07 +0800
Subject: [PATCH] bug fix

---
 HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
index f1d18b8..40589b1 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Scene/SceneEditPage.cs
@@ -410,9 +410,9 @@
                 Y = Application.GetRealHeight(667 - 50),
                 Height = Application.GetRealHeight(50),
                 TextAlignment = TextAlignment.Center,
-                TextColor =  CSS_Color.WarningColor,
+                TextColor = CSS_Color.WarningColor,
                 TextSize = CSS_FontSize.SubheadingFontSize,
-                TextID =   StringId.Del,
+                TextID = StringId.Del,
                 BackgroundColor = CSS_Color.MainBackgroundColor,
                 //IsBold = true
             };
@@ -481,7 +481,6 @@
         void LoadFunctionRow()
         {
             functionListView.RemoveAll();
-            functionListView.Height = Application.GetRealWidth(65 * scene.functions.Count);
             for(int i =0;i<scene.functions.Count;)
             {
                 var scenefunction = scene.functions[i];
@@ -490,6 +489,7 @@
                     scene.functions.Remove(scenefunction);
                     continue;
                 }
+                functionListView.Height = Application.GetRealWidth(65 * scene.functions.Count);
                 try
                 {
                     //灏唖pk瀹炰綋閲岄潰鐨刴in max鍊兼斁鍏ュ満鏅姛鑳藉疄浣撻噷锛岃涓嶇劧鏁版嵁浼氫涪澶� 2022-06-21 16:06:45

--
Gitblit v1.8.0