From f9ed76e5022a2850eb2533d969b052ef170bf487 Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期二, 31 十月 2023 14:14:48 +0800
Subject: [PATCH] Merge branch 'Dev-Branch' into wjc

---
 HDL_ON/UI/UI0-Public/PublicAssmebly.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
index 512a64e..151ee2f 100644
--- a/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
+++ b/HDL_ON/UI/UI0-Public/PublicAssmebly.cs
@@ -777,9 +777,13 @@
                 sRange.Add(i);
             }
             sRange.Add(60);
+
+            int curValus = 0;
+            int.TryParse(curItemKey, out curValus);
+
             BottomTimeSelectControl timeControl = new BottomTimeSelectControl(mRange, sRange, 5, Language.StringByID(StringId.SceneDelay));
             timeControl.RowHeight = Application.GetRealHeight(50);
-            timeControl.InitControl(0, 0, 262, false);
+            timeControl.InitControl(curValus / 60, curValus % 60, 262, false);
             //timeControl.ChangePickerEvent2();
             timeControl.FinishEvent = (type, hours, min) =>
             {

--
Gitblit v1.8.0