editor: paste ID+1: midi-related addresses should not be incremented

This commit is contained in:
bordun 2020-10-25 18:06:59 +01:00
parent 2b02d29287
commit 0ac8f0ffc9
2 changed files with 2 additions and 1 deletions

View file

@ -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) {