From af1cb3ecd0f4b0589e00b28f7f9edccf39e6e12b Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 10 九月 2020 16:15:11 +0800
Subject: [PATCH] 202009101

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

diff --git a/HDL_ON/UI/UI2/3-Intelligence/SetSceneFunctionInfoPage.cs b/HDL_ON/UI/UI2/3-Intelligence/SetSceneFunctionInfoPage.cs
index da587c0..78bd49c 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/SetSceneFunctionInfoPage.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/SetSceneFunctionInfoPage.cs
@@ -98,7 +98,7 @@
 
             btnConfrim.MouseUpEventHandler = (sender, e) =>
             {
-                var temp = scene.sceneFunctionList.Find((obj) => obj.sid == function.sid) ;
+                var temp = scene.sceneFunctionList.Find((obj) => obj.sid == function.sid);
                 if (temp!=null)
                 {
                     temp = function;
@@ -109,7 +109,6 @@
                 }
                 refreshAction();
                 this.RemoveFromParent();
-
             };
         }
 
@@ -598,7 +597,8 @@
                 ProgressTextColor = CSS_Color.FirstLevelTitleColor,
                 ProgressTextSize = CSS_FontSize.PromptFontSize_FirstLevel,
                 MaxValue = 100,
-                Progress = trait.value.ToString().Replace("{}", "") == "" ? 0 : (int)trait.value,
+                Progress = trait.value.ToString().Replace("{}", "") == "" ? 0 : Convert.ToInt32( trait.value),
+                SeekBarPadding = Application.GetRealWidth(20),
             };
             optionBaseView.AddChidren(controlBar);
 

--
Gitblit v1.8.0