From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Modrinth Enhanced Date: Fri, 18 Sep 2026 10:42:13 +0200 Subject: [PATCH] Make an instance group from the library's free space Right-clicking the empty space around the library offered a new instance and nothing else, so making a group meant finding the toolbar button. The same menu now offers it, and opens the dialog that button does. --- .../src/components/ui/library/index.vue | 4 ++++ apps/app-frontend/src/pages/Index.vue | 16 ++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/apps/app-frontend/src/components/ui/library/index.vue b/apps/app-frontend/src/components/ui/library/index.vue index 20000b6..1849835 100644 --- a/apps/app-frontend/src/components/ui/library/index.vue +++ b/apps/app-frontend/src/components/ui/library/index.vue @@ -53,6 +53,7 @@ const { currentDeleteInstances, clearLibraryInstanceSelection, deleteInstance, + openNewGroupModal, handleInstanceIconSaved, selectedLibraryInstances, setSelectedLibraryInstances, @@ -260,6 +261,9 @@ watch(selectedLibraryInstances, (selectedInstances) => { anchorInstance.value = null } }) + +// So the page's own menu, on the free space around the library, can offer it. +defineExpose({ openNewGroupModal })