Skip to content

Commit

Permalink
Windows mouse resize fix (#2407)
Browse files Browse the repository at this point in the history
Update useMouseItemResize.ts
  • Loading branch information
ameer2468 committed Apr 26, 2024
1 parent 9384bad commit a61a7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion interface/hooks/useMouseItemResize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const useMouseItemResize = () => {
const handleWheel = useCallback(
(e: WheelEvent) => {
const isList = layoutMode === 'list';
const deltaYModifier = isList ? -Math.sign(e.deltaY) : e.deltaY / 10; // Sensitivity adjustment
const deltaYModifier = isList ? -Math.sign(e.deltaY) : -e.deltaY / 10; // Sensitivity adjustment
const newSize =
Number(
isList
Expand Down

0 comments on commit a61a7be

Please sign in to comment.