From e66503d70f26a3109fbadf47abcb8ba31d619e3c Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期五, 10 三月 2023 16:56:03 +0800 Subject: [PATCH] 2023年03月10日16:56:00 --- HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs index cc585e6..25a9a06 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/IntelligencePage.cs @@ -401,6 +401,14 @@ { foreach (var scene in listScene) { + if(scene == null) + { + continue; + } + if(scene.sceneType == SceneType.LightScene) + { + continue; + } System.Threading.Thread.Sleep(10); Application.RunOnMainThread(() => { @@ -695,7 +703,7 @@ btnAutomationTitle.TextSize = CSS_FontSize.TextFontSize; btnSceneTilte.IsSelected = false; btnSceneTilte.TextSize = CSS_FontSize.TextFontSize; - contentPageView.PageIndex = 2; + contentPageView.PageIndex = contentPageView.ChildrenCount - 1; }; } } -- Gitblit v1.8.0