editor: when selecting another widget while editing a property, changes where applied to the newly selected widget (issue #188)
This commit is contained in:
parent
395739cf10
commit
a689bffa16
2 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue