-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix draw-to-insert into grid when going top-left of the origin (#6370)
**Problem:** Draw-to-insert into a grid does not work if the drag vector goes top/left of the drag origin. **Fix:** Fix the origin calculation. Also, I added a TODO in the code to improve this strategy in an incremental PR. | Before | After | |-------|---------| | ![Kapture 2024-09-13 at 17 40 56](https://github.com/user-attachments/assets/218fb02c-4e6e-476f-9376-c7a963598959) | ![Kapture 2024-09-13 at 17 40 06](https://github.com/user-attachments/assets/9187b0bb-9c79-4859-93f4-168061da8de5) | Fixes #6369
- Loading branch information
Showing
1 changed file
with
29 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters