node-red/packages/node_modules/@node-red/editor-client
Dimitrie Hoekstra eaf68815fd
Implement smooth zoom functionality with pinch-to-zoom support
- Add smooth zoom animation with 125ms duration and easing curves
- Implement space+scroll zoom mode alongside existing Alt+scroll
- Fix pinch-to-zoom with proper ratio-based scaling and fixed focal point
- Add gesture state management for consistent zoom behavior
- Enhance spacebar handling to prevent scroll artifacts
- Fix zoom button layout (correct zoom in/out direction)
- Add zoom animation utilities (view-zoom-animator.js)
- Add zoom configuration constants (view-zoom-constants.js)
- Fix scale lock issues with improved tolerance handling
- Update Gruntfile to include new zoom modules in build

Features implemented:
- Smooth animated zoom transitions (125ms with ease-out)
- Space+scroll for zoom mode
- Fixed focal point during pinch gestures
- No scroll artifacts when pressing space
- Proper state management when cursor leaves canvas
- Natural acceleration/deceleration curves

Known issue: Trackpad pinch-to-zoom needs additional work on macOS
2025-10-14 10:04:29 +01:00
..
locales i18n(NodeRed) update ES translation files to latest code base 2025-10-09 17:12:38 +02:00
src Implement smooth zoom functionality with pinch-to-zoom support 2025-10-14 10:04:29 +01:00
templates fix(editor): remove trailing slash 2024-05-30 01:42:16 +02:00
.npmignore
LICENSE Update package readmes and licenses 2022-01-27 12:49:48 +00:00
README.md
index.js
package.json Bump for 4.1.1 release 2025-10-13 11:37:18 +01:00

README.md

@node-red/editor-client

Node-RED editor resources module.

This provides all of the client-side resources of the Node-RED editor application.

Source

The main Node-RED modules are maintained as a monorepo on GitHub.