fix: reduce preview wheel zoom sensitivity (#2911)

This commit is contained in:
Yeung Lihan
2026-04-25 15:43:58 +08:00
committed by GitHub
parent ff3d4b1337
commit 6ff754d125
+1 -1
View File
@@ -27,7 +27,7 @@ function RouteComponent() {
return (
<div className="fixed inset-0">
<TransformWrapper centerOnInit limitToBounds={false} minScale={0.3} initialScale={0.6} maxScale={6}>
<TransformWrapper centerOnInit limitToBounds={false} minScale={0.3} initialScale={0.6} maxScale={6} wheel={{ step: 0.001 }}>
<TransformComponent wrapperClass="h-full! w-full!">
<ResumePreview
showPageNumbers