Properly disable hotkey scopes for open reader settings

This commit is contained in:
schroda
2024-12-09 17:14:59 +01:00
parent 044aa23ad4
commit 230e23484a
2 changed files with 13 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ export const ReaderSettings = ({ isOpen, close }: { isOpen: boolean; close: () =
const { manga } = useReaderStateMangaContext();
const settings = ReaderService.useSettings();
useDisableAllHotkeysWhileMounted();
useDisableAllHotkeysWhileMounted(isOpen);
const [activeTab, setActiveTab] = useState(0);