Skip to content

Commit 49b5198

Browse files
mattdawkinsclaude
andcommitted
Add settings button to compact track list header with even spacing
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6c3e643 commit 49b5198

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

client/src/components/TrackList.vue

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,32 @@ export default defineComponent({
358358
<div class="d-flex align-center">
359359
<span class="compact-header-text">Tracks ({{ filteredTracks.length }})</span>
360360
<v-spacer />
361+
<v-menu
362+
v-model="data.settingsActive"
363+
:close-on-content-click="false"
364+
:nudge-bottom="28"
365+
>
366+
<template #activator="{ on, attrs }">
367+
<v-btn
368+
icon
369+
x-small
370+
class="mr-2"
371+
v-bind="attrs"
372+
v-on="on"
373+
>
374+
<v-icon
375+
x-small
376+
:color="data.settingsActive ? 'accent' : 'default'"
377+
>
378+
mdi-cog
379+
</v-icon>
380+
</v-btn>
381+
</template>
382+
<slot
383+
v-if="data.settingsActive"
384+
name="settings"
385+
/>
386+
</v-menu>
361387
<v-tooltip
362388
open-delay="100"
363389
bottom
@@ -367,6 +393,7 @@ export default defineComponent({
367393
:disabled="filteredTracks.length === 0 || readOnlyMode"
368394
icon
369395
x-small
396+
class="mr-2"
370397
v-on="on"
371398
@click="multiDelete()"
372399
>

0 commit comments

Comments
 (0)