This commit is contained in:
troyeguo committed 2026-06-21 20:55:40 +08:00
1 parent 32702b4099
commit c472c345ae
3 files changed
+3 -7

No files matched your search

+1 -1
View File
File diff suppressed because one or more lines are too long.
+1 -4
View File
@@ -26,10 +26,7 @@ import {
import SupportDialog from "../../components/dialogs/supportDialog";
let lock = false; //prevent from clicking too fasts
let throttleTime =
(ConfigService.getReaderConfig("animation") || "none") !== "none"
? 1000
: 200;
let throttleTime = 200;
let isMouseMoving = false;
const PANEL_POSITIONS = ["left", "right", "top", "bottom"] as const;
type PanelPosition = (typeof PANEL_POSITIONS)[number];
+1 -2
View File
@@ -173,8 +173,7 @@ const handleShortcut = (event: any) => {
}
if (event.keyCode === 122) {
event.preventDefault();
const entering =
ConfigService.getReaderConfig("isFullscreen") !== "yes";
const entering = ConfigService.getReaderConfig("isFullscreen") !== "yes";
entering ? handleFullScreen() : handleExitFullScreen();
ConfigService.setReaderConfig("isFullscreen", entering ? "yes" : "no");
}