Split works on every selected frame

Split (menu and shortcut) splits each selected frame that spans the time
under the cursor or playhead; triggers are skipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-06 00:51:48 -04:00
1 parent f4fd255a02
commit 94d0bbf206
5 files changed
+33 -4

No files matched your search

+1 -1
View File
@@ -122,7 +122,7 @@ namespace anm2ed::imgui
actions.add(ACTION_DUPLICATE, [=, this]() { return !selectedBakeFrames.empty(); }, [&]() { frames_duplicate(); });
actions.add({.label = LABEL_SPLIT,
.shortcut = SHORTCUT_SPLIT,
.isEnabled = [=, this]() { return selectedBakeFrames.size() == 1; },
.isEnabled = [=, this]() { return !selectedBakeFrames.empty(); },
.run = [&]() { frame_split(); }});
actions.add(ACTION_REVERSE, [=, this]() { return isReverseFrames; }, [&]() { frames_reverse(); });
actions.separator();