From e86133738d1c2775d1c252d5015fb850ca60f796 Mon Sep 17 00:00:00 2001 From: Frank Stellmacher <171614930+Psychotoxical@users.noreply.github.com> Date: Fri, 24 Apr 2026 00:48:55 +0200 Subject: [PATCH] fix(ui): swap Gapless / Infinite Queue toolbar icons (#284) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported in #274 — the icons for the Gapless and Infinite Queue toggles were the wrong way round. The infinity symbol was on Gapless, but reads much more naturally on Infinite Queue (a queue that never ends), and the arrow-up-to-line on Infinite Queue had no obvious mapping at all. Move infinity to Infinite Queue. Use MoveRight (right-pointing arrow) for Gapless — visualises 'flows straight through to the next track without stopping' and stays distinct from the chain/link family at 13 px in both the QueuePanel and Mini Player toolbars. Closes #274 --- src/components/MiniPlayer.tsx | 6 +++--- src/components/QueuePanel.tsx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/MiniPlayer.tsx b/src/components/MiniPlayer.tsx index 60488c36..3131d717 100644 --- a/src/components/MiniPlayer.tsx +++ b/src/components/MiniPlayer.tsx @@ -3,7 +3,7 @@ import { createPortal } from 'react-dom'; import { emit, listen } from '@tauri-apps/api/event'; import { invoke } from '@tauri-apps/api/core'; import { useTranslation } from 'react-i18next'; -import { Play, Pause, SkipBack, SkipForward, Pin, PinOff, Maximize2, X, ListMusic, Volume2, VolumeX, Shuffle, Infinity as InfinityIcon, Waves, ArrowUpToLine } from 'lucide-react'; +import { Play, Pause, SkipBack, SkipForward, Pin, PinOff, Maximize2, X, ListMusic, Volume2, VolumeX, Shuffle, Infinity as InfinityIcon, Waves, MoveRight } from 'lucide-react'; import CachedImage from './CachedImage'; import { buildCoverArtUrl, coverArtCacheKey } from '../api/subsonic'; import { usePlayerStore } from '../store/playerStore'; @@ -582,7 +582,7 @@ export default function MiniPlayer() { data-tooltip={t('queue.gapless')} aria-label={t('queue.gapless')} > - + diff --git a/src/components/QueuePanel.tsx b/src/components/QueuePanel.tsx index a9627f8a..6cd523e2 100644 --- a/src/components/QueuePanel.tsx +++ b/src/components/QueuePanel.tsx @@ -1,6 +1,6 @@ import React, { useState, useRef, useMemo, useEffect } from 'react'; import { Track, usePlayerStore, songToTrack } from '../store/playerStore'; -import { Play, Music, Star, X, Trash2, Save, FolderOpen, Shuffle, Infinity, Waves, MicVocal, ListMusic, Check, ListPlus, ArrowUpToLine, Radio, HardDrive, ChevronDown, Info, Share2 } from 'lucide-react'; +import { Play, Music, Star, X, Trash2, Save, FolderOpen, Shuffle, Infinity, Waves, MicVocal, ListMusic, Check, ListPlus, MoveRight, Radio, HardDrive, ChevronDown, Info, Share2 } from 'lucide-react'; import { buildCoverArtUrl, coverArtCacheKey, getAlbum, getPlaylists, getPlaylist, updatePlaylist, deletePlaylist, SubsonicPlaylist } from '../api/subsonic'; import { usePlaylistStore } from '../store/playlistStore'; import { useCachedUrl } from './CachedImage'; @@ -588,7 +588,7 @@ export default function QueuePanel() { data-tooltip={t('queue.gapless')} aria-label={t('queue.gapless')} > - +