enh: custom action buttons

This commit is contained in:
Timothy Jaeryang Baek
2025-08-07 02:11:27 +04:00
parent 5d670cb7ce
commit 2e733b46b0
2 changed files with 26 additions and 18 deletions
@@ -194,6 +194,7 @@
<FloatingButtons
bind:this={floatingButtonsElement}
{id}
actions={$settings?.floatingActionButtons ?? []}
model={(selectedModels ?? []).includes(model?.id)
? model?.id
: (selectedModels ?? []).length > 0