mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix(editor): Implement canvas zoom UX improvements (#7376)
- Fix pinch-to-zoom - Support command + scroll to zoom - Improve accuracy of zooming (scroll more = zoom more) - Zoom limits - Zoom relative to mouse position
This commit is contained in:
@@ -1258,6 +1258,7 @@ export interface IRestApiContext {
|
||||
export interface IZoomConfig {
|
||||
scale: number;
|
||||
offset: XYPosition;
|
||||
origin?: XYPosition;
|
||||
}
|
||||
|
||||
export interface IBounds {
|
||||
|
||||
Reference in New Issue
Block a user