* Litegraph: canvas.pointer
Clear @ts-expect-error
Fix exception thrown on slot double-click
Long-standing bug but has no real impact in prod - just logs an error.
Required for new connecting_link features.
Add settings: CanvasPointer options
Update litegraph 0.8.28
Fix regression in snap to grid render
Fix snap to grid marker always on
Update snap to grid to use Positionable API
Fix test clicks registering as double-click
Improve test precision
Current test proves it has changed to something smaller.
New test proves it is exactly what was specified.
Will need refinement when a limit is put on latent width.
Fix test expects collapse node to select node
Remove redundant code
Resolved by CanvasPointer
Fix flaky test - ContextMenu
Fix settings group
* Update litegraph
* Remove snapToGrid extension
* Update test expectations [skip ci]
---------
Co-authored-by: huchenlei <huchenlei@proton.me>
Co-authored-by: github-actions <github-actions@github.com>
* implmentation of new mask editor
* fixed some problems, added some new ones
* Refactor: Split implementation into classes, fix multiple bugs -> all initial features work, more testing required
* first release - fixed all known issues, tested, added color select tool and settings toggle
* Add option to disable ctrl + shift + zoom
Minor change to default behaviour: zoom no longer triggers if alt key is also down.
* Update coreSettings.ts
Next release will be 1.4.0 to leave room for patches in 1.3 stable after today's main repo sync.
---------
Co-authored-by: Chenlei Hu <huchenlei@proton.me>
* Improved touch support
* Fix touch support scaling error
* Fix touch scaling precision on all zoom levels
* Improved touch experiene, fixed zooming on textarea elements and fixed context menu.
* Minor bug fix
* Fix missing await
* Fix flaky tests - keyboard combos
Old code is causing playwright &/ changeTracker to add an undo step. Using combo mode resolves flakiness until that can be investigated thoroughly.
* Restore skipped tests
* Fix flaky tests
* Async clean up
* Fix test always fails on retry
* Add TS types (tests)
* Fix flaky test
* Add observable busy state to workflow store
* Add workflow store busy wait to tests
* Rename test for clarity
* Fix flaky tests - use press() from locator API
Ref: https://playwright.dev/docs/api/class-keyboard#keyboard-press
* Fix flaky test - wait next frame
* Add delay between mouse events
Litegraph pointer handling is all custom coded, so a adding a delay between events for a bit of reality is actually beneficial.