josh
44e6c35550
fix(rigs): don't flag a rig dirty over input/channel differences
...
Switching between starter rigs prompted "save changes?" even when nothing
was edited. The unsaved-changes check compared full ShoeGazeState snapshots
(`captureState() != entry.state`), which include the live input source and
engine channel counts — and those legitimately differ from a factory rig's
saved values now that a rig switch preserves the player's current input
instead of adopting the rig's saved one.
Add ShoeGazeState.hasSameRigContent(as:) comparing only rig content (boards,
routers, MIDI map, tempo) and use it for the dirty check, so session/engine
settings no longer register as unsaved changes. Test added.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-08-10 16:40:35 -07:00
..
2026-07-03 09:22:20 -07:00
2026-08-04 10:42:35 -07:00
2026-06-28 15:49:50 -07:00
2026-06-21 15:07:34 -07:00
2026-06-21 20:43:03 -07:00
2026-06-27 21:32:03 -07:00
2026-06-27 21:46:23 -07:00
2026-08-01 22:26:14 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-08-05 09:05:40 -07:00
2026-08-05 09:05:40 -07:00
2026-08-05 09:05:40 -07:00
2026-08-04 08:55:11 -07:00
2026-08-04 09:31:14 -07:00
2026-08-05 09:05:40 -07:00
2026-08-09 13:32:58 -07:00
2026-06-21 12:25:18 -07:00
2026-08-04 10:42:35 -07:00
2026-08-05 09:05:40 -07:00
2026-08-04 10:42:35 -07:00
2026-06-26 18:05:30 -07:00
2026-07-31 18:22:43 -07:00
2026-06-21 12:25:18 -07:00
2026-06-26 19:14:00 -07:00
2026-07-31 20:41:06 -07:00
2026-08-09 13:53:56 -07:00
2026-06-23 21:56:04 -07:00
2026-06-27 20:54:35 -07:00
2026-08-05 09:05:40 -07:00
2026-08-05 09:05:40 -07:00
2026-08-05 09:05:40 -07:00
2026-06-21 12:25:18 -07:00
2026-06-28 15:49:50 -07:00
2026-06-23 12:36:42 -07:00
2026-06-27 20:50:22 -07:00
2026-07-11 21:41:57 -07:00
2026-08-05 09:05:40 -07:00
2026-07-31 18:22:43 -07:00
2026-06-21 12:25:18 -07:00
2026-07-04 13:05:57 -07:00
2026-06-21 12:25:18 -07:00
2026-07-10 09:00:24 -07:00
2026-07-08 15:03:12 -07:00
2026-07-11 16:03:50 -07:00
2026-07-08 15:03:12 -07:00
2026-07-03 09:22:20 -07:00
2026-07-03 09:22:20 -07:00
2026-08-05 09:05:40 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 15:07:34 -07:00
2026-06-24 21:00:02 -07:00
2026-08-03 17:34:46 -07:00
2026-08-04 16:41:27 -07:00
2026-07-10 08:47:22 -07:00
2026-06-21 12:25:18 -07:00
2026-07-31 20:41:06 -07:00
2026-07-31 20:41:06 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-26 18:05:30 -07:00
2026-07-10 08:47:22 -07:00
2026-06-21 12:25:18 -07:00
2026-07-01 16:47:47 -07:00
2026-08-10 16:40:35 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-06-27 21:28:45 -07:00
2026-06-27 21:46:23 -07:00
2026-06-27 17:56:10 -07:00
2026-06-27 17:56:10 -07:00
2026-07-05 12:30:45 -07:00
2026-07-11 15:34:23 -07:00
2026-06-26 18:05:30 -07:00
2026-07-01 16:47:47 -07:00
2026-06-27 21:00:23 -07:00
2026-06-27 21:46:23 -07:00
2026-06-27 22:00:00 -07:00
2026-06-28 14:40:18 -07:00
2026-06-28 17:49:20 -07:00
2026-06-24 20:34:45 -07:00
2026-06-21 12:25:18 -07:00
2026-07-01 16:47:47 -07:00
2026-06-28 15:01:53 -07:00
2026-07-11 16:03:50 -07:00
2026-06-21 20:43:03 -07:00
2026-07-31 20:41:06 -07:00
2026-08-09 13:10:16 -07:00
2026-07-04 12:31:11 -07:00
2026-07-10 08:47:22 -07:00
2026-07-03 09:22:20 -07:00
2026-06-21 12:25:18 -07:00
2026-06-21 12:25:18 -07:00
2026-07-03 09:22:20 -07:00
2026-07-03 09:22:20 -07:00
2026-07-13 19:58:41 -07:00
2026-08-09 13:06:17 -07:00
2026-06-27 20:54:35 -07:00
2026-07-01 08:18:09 -07:00
2026-07-01 08:18:09 -07:00