Merge pull request #512 from SuanmoSuanyangTechnology/fix/release_web_zy
fix(web): change mousewheel factor
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* @Author: ZhaoYing
|
* @Author: ZhaoYing
|
||||||
* @Date: 2026-02-03 15:17:48
|
* @Date: 2026-02-03 15:17:48
|
||||||
* @Last Modified by: ZhaoYing
|
* @Last Modified by: ZhaoYing
|
||||||
* @Last Modified time: 2026-02-28 17:59:34
|
* @Last Modified time: 2026-03-07 15:23:39
|
||||||
*/
|
*/
|
||||||
import { useRef, useEffect, useState } from 'react';
|
import { useRef, useEffect, useState } from 'react';
|
||||||
import { useParams } from 'react-router-dom';
|
import { useParams } from 'react-router-dom';
|
||||||
@@ -715,6 +715,8 @@ export const useWorkflowGraph = ({
|
|||||||
panning: isHandMode,
|
panning: isHandMode,
|
||||||
mousewheel: {
|
mousewheel: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
factor: 0.1,
|
||||||
|
modifiers: null,
|
||||||
},
|
},
|
||||||
connecting: {
|
connecting: {
|
||||||
connector: {
|
connector: {
|
||||||
|
|||||||
Reference in New Issue
Block a user