From 18c8ba14183bf72fd01e595124a9614bc4c7d6a3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 23 十月 2023 14:34:16 +0800 Subject: [PATCH] 2.3版本 --- 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