From e5248512859d7c85e603d898319469e47cda7071 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 17 十二月 2020 20:45:12 +0800 Subject: [PATCH] 2020-12-17 1.修复自动化隐藏后还能滑动问题。 --- HDL_ON/UI/UI2/FuntionControlView/Light/RelayPage.cs | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPage.cs index ad0df54..4829203 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Light/RelayPage.cs @@ -122,8 +122,13 @@ UnSelectedImagePath = "Collection/CollectionGrayIcon.png", IsSelected = light.collect }; - controlView.AddChidren(btnCollection); - + //controlView.AddChidren(btnCollection); + //2020-12-16 濡傛灉鏄垚鍛橀殣钘忔敹钘忓姛鑳� + if (!DB_ResidenceData.Instance.CurrentRegion.IsOthreShare) + { + controlView.AddChidren(btnCollection); + } + btnSwitchIcon = new Button() { Gravity = Gravity.CenterHorizontal, -- Gitblit v1.8.0