From 2ba9045dec99e6ea1d357a8fbd284d93f82cf925 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期一, 11 一月 2021 14:31:17 +0800
Subject: [PATCH] 20200111

---
 HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
old mode 100755
new mode 100644
index 2071bab..c57b93b
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RGBPage.cs
@@ -125,7 +125,6 @@
                 BorderWidth = 1,
                 BackgroundColor = (uint)(0xFF000000 + light.GetRGBcolor())
             };
-
             controlView.AddChidren(btnCurColor);
 
             btnCollection = new Button()
@@ -293,10 +292,10 @@
 
             btnRestoredPoint = new Button()
             {
-                X = Application.GetRealWidth(104),
-                Y = Application.GetRealHeight(462),
-                Width = Application.GetMinRealAverage(40),
-                Height = Application.GetMinRealAverage(40),
+                X = Application.GetRealWidth(116),
+                Y = Application.GetRealHeight(466),
+                Width = Application.GetMinRealAverage(32),
+                Height = Application.GetMinRealAverage(32),
                 UnSelectedImagePath = "Public/Restored_Shadow.png",
                 SelectedImagePath = "Public/Restored_Shadow.png",
             };
@@ -304,10 +303,10 @@
 
             btnSwitch = new Button()
             {
-                X = btnRestoredPoint.Right + Application.GetRealWidth(40),
-                Y = Application.GetRealHeight(462),
-                Width = Application.GetMinRealAverage(40),
-                Height = Application.GetMinRealAverage(40),
+                X = btnRestoredPoint.Right + Application.GetRealWidth(32),
+                Y = Application.GetRealHeight(466),
+                Width = Application.GetMinRealAverage(32),
+                Height = Application.GetMinRealAverage(32),
                 UnSelectedImagePath = "Public/PowerClose.png",
                 SelectedImagePath = "Public/PowerOpen.png",
                 IsSelected = light.trait_on_off.curValue.ToString() == "on"

--
Gitblit v1.8.0