Skip to content

Commit

Permalink
🐛 Apply changes in the properties panel when saving a room
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMyzrailGorynych committed Nov 6, 2022
1 parent cea1176 commit f9ed856
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/riotTags/rooms/room-editor.tag
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,9 @@ room-editor.aPanel.aView
};

this.saveRoom = async () => {
if (this.pixiEditor.currentSelection.size && this.refs.propertiesPanel) {
this.refs.propertiesPanel.applyChanges();
}
const {writeRoomPreview} = require('./data/node_requires/resources/rooms');
this.pixiEditor.serialize();
await Promise.all([
Expand Down

0 comments on commit f9ed856

Please sign in to comment.