mac
2023-08-29 2d5cd35af7437ad4015d38594d8c721dc6166b11
HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs
@@ -372,6 +372,8 @@
        /// </summary>
        public void LoadDiv(List<Function> functions,Action action)
        {
            try
            {
            btnIcon = new Button()
            {
                X = Application.GetRealWidth(10),
@@ -425,7 +427,8 @@
            }
            bodyDiv.AddChidren(btnSelect);
            
            btnSelect.MouseUpEventHandler = (sender, e) => {
                btnSelect.MouseUpEventHandler = (sender, e) =>
                {
                Application.HideSoftInput();
                btnSelect.IsSelected = !btnSelect.IsSelected;
                if(btnSelect.IsSelected)
@@ -450,8 +453,11 @@
                    action();
                //}
            };
            }catch (Exception ex)
            {
        }
        }
    }