editor: fix selecting parent widget after deleting a widget
This commit is contained in:
parent
974211b356
commit
fce54acf1d
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@
|
|||
- bug fixes
|
||||
- regression preventing glass effect from using the widget's color
|
||||
- missing last key in keyboard widget
|
||||
- editor: select parent widget after deleting a widget
|
||||
- widgets
|
||||
- text: set line-height relative to font size
|
||||
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ var updateWidget = function(widget, options = {}) {
|
|||
}
|
||||
}
|
||||
|
||||
if (!options.preventSelect && editing) {
|
||||
if (!options.preventSelect || editing) {
|
||||
editor.select(newWidget)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue