Bump version to 1.5.0.16 and update changelog for keyboard controls and sorting options
All checks were successful
Auto Release Plugin / build-and-release (push) Successful in 52s

This commit is contained in:
CodeDevMLH
2026-02-09 16:53:33 +01:00
parent c901da4b0c
commit 5635a8f05e
3 changed files with 9 additions and 2 deletions

View File

@@ -2655,6 +2655,13 @@ const SlideshowManager = {
return;
}
const activeElement = document.activeElement;
const isSlideshowFocused = container.contains(activeElement) || activeElement === container || activeElement === document.body;
if ((e.key === "ArrowRight" || e.key === "ArrowLeft") && !isSlideshowFocused) {
return;
}
switch (e.key) {
case "ArrowRight":
SlideshowManager.nextSlide();