Skip to content

Commit

Permalink
fix(ui): gallery nav hotkeys not working
Browse files Browse the repository at this point in the history
So close, yet so far away
  • Loading branch information
psychedelicious authored and hipsterusername committed Sep 25, 2024
1 parent 70a35cc commit 841178c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const gallerySlice = createSlice({
}

// If the selected image is different from the current selection, clear the selection and select the new image
if (isEqual(state.selection[0], selectedImage)) {
if (!isEqual(state.selection[0], selectedImage)) {
state.selection = [selectedImage];
return;
}
Expand Down

0 comments on commit 841178c

Please sign in to comment.