Update hooks.js

This commit is contained in:
hiroshisuga 2023-12-30 22:30:54 +09:00 committed by Anton Georgiev
parent 26f6c01678
commit d266d48f04

View File

@ -89,8 +89,8 @@ const useMouseEvents = ({ whiteboardRef, tlEditorRef }, {
const MAX_ZOOM = 4;
const MIN_ZOOM = .2;
const ZOOM_IN_FACTOR = 0.025; // Finer zoom control
const ZOOM_OUT_FACTOR = 0.025;
const ZOOM_IN_FACTOR = 0.100; // Finer zoom control
const ZOOM_OUT_FACTOR = 0.100;
const { x: cx, y: cy, z: cz } = tlEditorRef.current.camera;