We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 636b96b + cef0ec2 commit 8b6a36cCopy full SHA for 8b6a36c
src/main/java/com/commonwealthrobotics/TimelineManager.java
@@ -365,6 +365,18 @@ private void update(boolean clear) {
365
// Add the delete item to the context menu
366
contextMenu.getItems().add(deleteItem);
367
368
+ // Add "Delete all after" to the timeline context menu
369
+ MenuItem deleteAfterItem = new MenuItem("Delete all after");
370
+ deleteAfterItem.setOnAction(event -> {
371
+ contextMenu.hide();
372
+ if (ap.get().isRegenerating() || !ap.get().isInitialized())
373
+ return;
374
+
375
+ ap.get().deleteTailFromCurrent();
376
377
+ });
378
+ contextMenu.getItems().add(deleteAfterItem);
379
380
});
381
// Add event handler for right-click
382
} catch (Exception ex) {
0 commit comments