Skip to content

Commit 3379a32

Browse files
committed
fix: 🐛 修复并排卷轴模式下使用滚轮调整缩放效果异常的 bug
https://sleazyfork.org/scripts/374903/discussions/309105
1 parent 884ee82 commit 3379a32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Manga/actions/operate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export const handleWheel = (e: WheelEvent) => {
346346
// 卷轴模式下的图片缩放
347347
if (
348348
(e.ctrlKey || e.altKey) &&
349-
isScrollMode() &&
349+
store.option.scrollMode.enabled &&
350350
store.option.zoom.ratio === 100
351351
) {
352352
e.preventDefault();

0 commit comments

Comments
 (0)