From 8983da138cb92e35b0bbeaece1cf1c454a5a79d4 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期二, 01 十二月 2020 16:31:28 +0800
Subject: [PATCH] 20201201
---
HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs b/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs
index 5346fda..67ceca9 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Scene/SetSceneLocationPage.cs
+++ b/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();
};
--
Gitblit v1.8.0