Skip to content

Commit

Permalink
🐛 Fix values in room editor's entities properties panel not updating …
Browse files Browse the repository at this point in the history
…when selecting new copies or tiles
  • Loading branch information
CosmoMyzrailGorynych committed Oct 2, 2024
1 parent 14b308a commit 1d0cacf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/riotTags/editors/room-editor/room-entities-properties.tag
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ room-entities-properties
type="number"
oninput="{wireAndApply('this.changes.basic.' + prop.key + '.x')}"
onchange="{memorizeChanges}"
value="{changes.basic[prop.key] && changes.basic[prop.key].x}"
value="{String(changes.basic[prop.key] && changes.basic[prop.key].x)}"
placeholder="{String(changes.basic[prop.key] && changes.basic[prop.key].x)}"
step="{prop.step}"
)
Expand All @@ -38,7 +38,7 @@ room-entities-properties
type="number"
oninput="{wireAndApply('this.changes.basic.' + prop.key + '.y')}"
onchange="{memorizeChanges}"
value="{changes.basic[prop.key] && changes.basic[prop.key].y}"
value="{String(changes.basic[prop.key] && changes.basic[prop.key].y)}"
placeholder="{String(changes.basic[prop.key] && changes.basic[prop.key].y)}"
step="{prop.step}"
)
Expand Down

0 comments on commit 1d0cacf

Please sign in to comment.