diff --git a/changelog/2026-12-04-device-part-menu-two-columns.md b/changelog/2026-12-04-device-part-menu-two-columns.md new file mode 100644 index 0000000000..882d647564 --- /dev/null +++ b/changelog/2026-12-04-device-part-menu-two-columns.md @@ -0,0 +1 @@ +The device tool's Part RELOAD and SAVE now reach the Part's actions when a module adds a row to the Part menu, as Bounce In Place does. diff --git a/scripts/device.mjs b/scripts/device.mjs index 51b9dc712f..c4cd09a100 100644 --- a/scripts/device.mjs +++ b/scripts/device.mjs @@ -319,7 +319,10 @@ async function part(n) { /** The Part menu (RENAME, RELOAD, SAVE, SAVE ALL), then `steps` in it. FUNC + PART on an MKII; on an MKI, FUNC + BANK in * the Part window (FUNC + MIDI), which NO closes afterwards (#2099). The menu keeps its cursor and stops at RENAME. */ async function partMenu(steps) { - if (await mkii()) await run('FUNC+PART w600 ' + steps) + // With a module's Part Edit row (ot_part_menu) the base opens two columns and remembers the cursor, on BOUNCE say: LEFT, + // UP past every row the table holds (PART and up to 8 modules) and RIGHT put it on PART's actions first. Stock's + // one-column menu ignores LEFT and RIGHT (MKII, 3 Dec 2026). + if (await mkii()) await run('FUNC+PART w600 LEFT w200 ' + 'UP w150 '.repeat(8) + 'RIGHT w200 ' + steps) else await run('FUNC+MIDI w300 FUNC+BANK w600 ' + steps + ' w300 NO w200') } /** Pick an effect by name through the stock chooser, then wait until the track runs it (effectTables: id -> descriptor