editor: paste ID+1: midi-related addresses should not be incremented
This commit is contained in:
parent
b34c5598e2
commit
573a07fc4d
2 changed files with 2 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ var incrementWidget = function(data, root){
|
|||
|
||||
data.address = 'auto'
|
||||
|
||||
} else if (address !== 'auto') {
|
||||
} else if (!address.match(/^auto|\/control|\/note|\/program|\/sysex|\/key_pressure|\/channel_pressure|\/pitch/) !== 'auto') {
|
||||
|
||||
var addressref
|
||||
while (fakeStore.address.indexOf(address) != -1 || widgetManager.getWidgetByAddress(addressref).length) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue