Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/components/layout/NowPlayingPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export function NowPlayingPanel({ onNavigateToArtist }: NowPlayingPanelProps) {
<div className="p-6 space-y-6">
{/* Large artwork */}
<div
onDoubleClick={() => {
onClick={() => {
if (currentTrack.artwork_path) setIsLightboxOpen(true);
}}
Comment thread
InstaZDLL marked this conversation as resolved.
className={
Expand Down
2 changes: 1 addition & 1 deletion src/components/views/AlbumDetailView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export function AlbumDetailView({
when the side lyrics panel is open. */}
<div className="flex items-start space-x-6">
<div
onDoubleClick={() => {
onClick={() => {
if (album.artwork_path) setIsLightboxOpen(true);
}}
Comment thread
InstaZDLL marked this conversation as resolved.
className={album.artwork_path ? "cursor-zoom-in" : undefined}
Expand Down
4 changes: 2 additions & 2 deletions src/components/views/ArtistDetailView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export function ArtistDetailView({
<img
src={pictureSrc}
alt={artist.name}
onDoubleClick={() => setIsLightboxOpen(true)}
onClick={() => setIsLightboxOpen(true)}
Comment thread
InstaZDLL marked this conversation as resolved.
className="w-48 h-48 rounded-full object-cover shadow-lg cursor-zoom-in"
/>
) : (
Expand All @@ -268,7 +268,7 @@ export function ArtistDetailView({
</div>
)}
{/* The wrapper is pointer-events-none so the underlying <img>
keeps receiving onDoubleClick (lightbox); the inner button
keeps receiving onClick (lightbox); the inner button
re-enables pointer events for the small pencil hit area. */}
<div className="absolute right-2 bottom-2 pointer-events-none">
<button
Expand Down
Loading