editor: "wrap" deleting the widget just before the one being wrapped
This commit is contained in:
parent
2e00096bef
commit
1ad70bed9e
2 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
## 0.29.1
|
||||
|
||||
- bug fixes
|
||||
- editor: "wrap" deleting the widget just before the one being wrapped
|
||||
- regression breaking traversing gestures and high precision gestures (0.29.0)
|
||||
- server
|
||||
- allow sending osc to broadcast ip addresses
|
||||
|
|
|
|||
|
|
@ -229,7 +229,7 @@ var handleClick = function(event) {
|
|||
parent.props.widgets.splice(i,1)
|
||||
}
|
||||
|
||||
parent.props.widgets = parent.props.widgets.slice(0, i - 1).concat(wrap, parent.props.widgets.slice(i, parent.props.widgets.length))
|
||||
parent.props.widgets = parent.props.widgets.slice(0, i).concat(wrap, parent.props.widgets.slice(i, parent.props.widgets.length))
|
||||
|
||||
editor.select(updateWidget(parent, {preventSelect: true}))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue