fix(ui): gallery nav hotkeys not working

So close, yet so far away
This commit is contained in:
psychedelicious
2024-09-26 06:36:41 +10:00
committed by Kent Keirsey
parent 70a35cc25a
commit 841178ceb7

View File

@@ -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;
}