wei
2020-12-01 8983da138cb92e35b0bbeaece1cf1c454a5a79d4
HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs
@@ -9,14 +9,14 @@
    {
        FrameLayout bodyView;
        VerticalScrolViewLayout contentView;
        Function scene;
        Scene scene;
        Button lastButton;
        Action backAction;
        public SetSceneLocationPage(Function function, Action action)
        public SetSceneLocationPage(Scene s, Action action)
        {
            backAction = action;
            bodyView = this;
            scene = function;
            scene = s;
        }
        public void LoadPage()
@@ -67,7 +67,7 @@
                    Tag = "ChooseIcon"
                };
                roomView.AddChidren(btnChoose);
                if(scene.roomIdList.Contains(room.sid))
                if(scene.roomIds.Contains(room.sid))
                {
                    btnChoose.IsSelected = true;
                    lastButton = btnChoose;
@@ -104,8 +104,8 @@
                }
                lastButton = btn;
                btn.IsSelected = true;
                scene.roomIdList = new System.Collections.Generic.List<string>();
                scene.roomIdList.Add(room.sid);
                scene.roomIds = new System.Collections.Generic.List<string>();
                scene.roomIds.Add(room.sid);
                this.RemoveFromParent();
                backAction();
            };