refactor(editor): Encapsulate canvas actions (#4416)
* feat(editor): encapsulating canvas actions * fiz(editor): zoomToFit * fiz(editor): zoomToFit * fiz(editor): fix imoprts in canvas controls * fiz(editor): fix imports in node view * fiz(editor): remove unused props from canvas controls * fiz(editor): fix zoomToFit functionality * fiz(editor): move more functions from NodeView to canvas store * chore(editor): code formatting fixes * fix(editor): adding back some lost refactoring after merge * fix(editor): remove console.log * fix(editor): add missing canvasAddButtonPosition * fix(editor): modify root store env query * fix(editor): modify canvas control position styling * fix(editor): modify canvas control position styling * fix(editor): roll back process.env * fix(editor): fix canvas controls positioning * fix(editor): fix canvas controls positioning * fix(editor): adopting new styles after merge * fix(editor): not storing html element in the store * fix(editor): remove unused variables * fix(editor): update canvas controls after conflict resolution * fix(editor): revert main.ts to reduce change noise * fix(editor): remove old store commit * fix(editor): simplify canvas store * fix(editor): reposition execute workflow button in mobile view * fix(editor): fox mouse scroll zoom in canvas * fix(editor): move canvas scroll handling into canvas controls
This commit is contained in:
9
packages/editor-ui/src/declarations/normalize-wheel.d.ts
vendored
Normal file
9
packages/editor-ui/src/declarations/normalize-wheel.d.ts
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
declare module 'normalize-wheel' {
|
||||
function normalizeWheel(e: WheelEvent): { spinX : number,
|
||||
spinY : number,
|
||||
pixelX : number,
|
||||
pixelY : number
|
||||
};
|
||||
|
||||
export = normalizeWheel;
|
||||
}
|
||||
Reference in New Issue
Block a user