panel: replace verticalTabs property with tabsPosition (supports 4 directions)

This commit is contained in:
jean-emmanuel 2023-04-06 00:16:49 +02:00
parent 13ce9ebe0d
commit afcd9787db
4 changed files with 23 additions and 12 deletions

View file

@ -318,6 +318,10 @@ var converters = [
if (data.type === 'patchbay' && data.exclusive === true) {
data.exclusive = 'in'
}
else if ((data.type === 'panel' || data.type === 'root') && data.verticalTabs === true) {
data.tabsPosition = 'left'
delete data.verticalTabs
}
}
}
]