editor: when selecting another widget while editing a property, changes where applied to the newly selected widget (issue #188)

This commit is contained in:
jean-emmanuel 2018-03-04 23:04:36 +01:00
parent 395739cf10
commit a689bffa16
2 changed files with 4 additions and 3 deletions

View file

@ -116,6 +116,8 @@ var Editor = class Editor {
select(widget, options={}){
this.unselect()
if (Array.isArray(widget)) {
this.selectedWidgets = widget
@ -147,8 +149,6 @@ var Editor = class Editor {
}
this.unselect()
if (this.selectedWidgets.length > 0) {
this.createEditForm()