From f9181a9c8125136f597add7c30cb2ff508d54ba7 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 25 七月 2024 17:34:32 +0800 Subject: [PATCH] 2024年07月25日17:33:40 --- 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