Skip to content

Commit

Permalink
join bnk context menu & actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHeitmann committed Aug 25, 2024
1 parent 461efd7 commit 28af06b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions lib/stateManagement/hierarchy/types/BnkHierarchyEntry.dart
Original file line number Diff line number Diff line change
Expand Up @@ -492,16 +492,7 @@ class BnkHierarchyEntry extends GenericFileHierarchyEntry {
@override
List<HierarchyEntryAction> getContextMenuActions() {
return [
HierarchyEntryAction(
name: "Remove prefetch WEMs",
icon: Icons.playlist_remove,
action: _removePrefetchWems,
),
HierarchyEntryAction(
name: "Generate cues info file",
icon: Icons.playlist_add_check,
action: _generateCuesTxtFile,
),
...getActions(),
...super.getContextMenuActions()
];
}
Expand All @@ -511,8 +502,19 @@ class BnkHierarchyEntry extends GenericFileHierarchyEntry {
return [
HierarchyEntryAction(
name: "Create Wwise project",
icon: Icons.drive_folder_upload,
action: () => showWwiseProjectGeneratorPopup(path),
),
HierarchyEntryAction(
name: "Remove prefetch WEMs",
icon: Icons.playlist_remove,
action: _removePrefetchWems,
),
HierarchyEntryAction(
name: "Generate cues info file",
icon: Icons.playlist_add_check,
action: _generateCuesTxtFile,
),
...super.getActions()
];
}
Expand Down

0 comments on commit 28af06b

Please sign in to comment.