Updates
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,5 +6,5 @@
|
||||
/tables/*
|
||||
/Properties/
|
||||
/.idea/
|
||||
/wwwroot/scripts/js/*
|
||||
/wwwroot/scripts/js/
|
||||
/wwwroot/styles/css/*
|
||||
|
||||
@@ -74,6 +74,9 @@ const loadRoom = (roomToLoad) => {
|
||||
const decorationsInRoom = Floorplan.decorations.filter(decoration => decoration.decoration_room == roomToLoad.id);
|
||||
decorationsInRoom.forEach(decoration => createDecorationShape(decoration, false));
|
||||
tablesInRoom.forEach(createTableShape);
|
||||
if (!isInMode('edit')) {
|
||||
deselectTables();
|
||||
}
|
||||
Floorplan.currentRoom = roomToLoad;
|
||||
};
|
||||
const getRoomById = (roomId) => {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -120,7 +120,9 @@ const loadRoom = (roomToLoad: room) => {
|
||||
const decorationsInRoom = Floorplan.decorations.filter(decoration => decoration.decoration_room == roomToLoad.id)
|
||||
decorationsInRoom.forEach(decoration => createDecorationShape(decoration, false))
|
||||
tablesInRoom.forEach(createTableShape)
|
||||
|
||||
if(!isInMode('edit')) {
|
||||
deselectTables()
|
||||
}
|
||||
Floorplan.currentRoom = roomToLoad
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user