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 0dc2c030aa
commit 0638375ae4
2 changed files with 4 additions and 3 deletions

View file

@ -3,7 +3,8 @@
## next
- bug fixes
- widgets: css: @media queries parsing
- editor: when selecting another widget while editing a property, changes where applied to the newly selected widget
- widgets: css: @media queries parsing
- themes
- alt-buttons: modal font-weight & color fix

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()