clone: regression causing error when some widgets have a non-string id
This commit is contained in:
parent
aee968cba9
commit
a73e2755dc
3 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,10 @@
|
|||
# Changelog
|
||||
|
||||
## 1.31.1
|
||||
|
||||
- bug fixes
|
||||
- clone: regression causing error when some widgets have a non-string id
|
||||
|
||||
## 1.31.0
|
||||
|
||||
- widgets
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "open-stage-control",
|
||||
"productName": "Open Stage Control",
|
||||
"description": "Libre and modular OSC / MIDI controller",
|
||||
"version": "1.31.0",
|
||||
"version": "1.31.1",
|
||||
"author": {
|
||||
"name": "Jean-Emmanuel Doucet",
|
||||
"email": "jean-emmanuel@ammd.net"
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ class Clone extends Container() {
|
|||
|
||||
var {id, widget} = e
|
||||
|
||||
if (id.includes(this.getProp('widgetId')) && this.isValidCloneTarget(widget)) {
|
||||
if (String(id).includes(this.getProp('widgetId')) && this.isValidCloneTarget(widget)) {
|
||||
|
||||
this.getCloneTarget()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue