Skip to content

Commit

Permalink
fix: smooth step
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoban committed Nov 14, 2024
1 parent 930e328 commit f32cda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/renderer/src/components/ui/media/preview-media.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ const FallbackableImage: FC<
>
{!isAllError && (
<TransformWrapper
wheel={{ step: 1 }}
wheel={{ smoothStep: 0.008 }}
onZoom={(e) => {
setScale(e.state.scale)
}}
Expand Down

0 comments on commit f32cda6

Please sign in to comment.