From 07466c19110693e3e439a7d7c8ad0bc21d9b3287 Mon Sep 17 00:00:00 2001 From: xm <1271024303@qq.com> Date: 星期三, 29 四月 2020 09:14:01 +0800 Subject: [PATCH] 优化代码,更改门锁需求接口 --- ZigbeeApp/Shared/Phone/MainPage/Controls/SafetyShortcutControl.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/MainPage/Controls/SafetyShortcutControl.cs b/ZigbeeApp/Shared/Phone/MainPage/Controls/SafetyShortcutControl.cs index 38484ea..b8df966 100755 --- a/ZigbeeApp/Shared/Phone/MainPage/Controls/SafetyShortcutControl.cs +++ b/ZigbeeApp/Shared/Phone/MainPage/Controls/SafetyShortcutControl.cs @@ -21,8 +21,8 @@ /// </summary> public SafetyShortcutControl() { - this.Height = Application.GetMinRealAverage(69); - this.Width = Application.GetMinRealAverage(69); + this.Height = HdlControlLogic.Current.GetPictrueRealSize(69); + this.Width = HdlControlLogic.Current.GetPictrueRealSize(69); this.UnSelectedImagePath = "Item/SafetyShortcut.png"; this.MouseUpEventHandler += (sender, e) => { -- Gitblit v1.8.0