-
Notifications
You must be signed in to change notification settings - Fork 99
[SOLVE] #9273 Center and Corner rectangle tools #9657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
andrewvarga
wants to merge
25
commits into
main
Choose a base branch
from
andrewvarga/9273/center-and-corner-rectangles
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
3af0437
first steps of new tools: center and corner rectangles
andrewvarga 5d28283
fix overlay icon for rectangle tools
andrewvarga f0f5098
Center rectangle tool adding first point (not working yet)
andrewvarga b4666e3
center rectangle tool now draws a line successfully
andrewvarga 028e7ca
Merge branch 'main' into andrewvarga/9273/center-and-corner-rectangles
andrewvarga 5d2d7f5
Merge branch 'main' into andrewvarga/9273/center-and-corner-rectangles
andrewvarga 67ff12a
center rect tool somewhat works now by editing lines directly instead…
andrewvarga 6bc7c72
Merge branch 'main' into andrewvarga/9273/center-and-corner-rectangles
andrewvarga add2739
center rectangle tool fixes
andrewvarga cfc8323
cleanups
andrewvarga cb42f95
Merge branch 'main' into andrewvarga/9273/center-and-corner-rectangles
andrewvarga 89d81e3
clean up point editing
andrewvarga 718b836
rectTool fixes
andrewvarga 5dbaec3
fmt
andrewvarga a0365ec
Merge branch 'main' into andrewvarga/9273/center-and-corner-rectangles
andrewvarga 8755727
small cleanups
andrewvarga b6126b3
Merge branch 'main' into andrewvarga/9273/center-and-corner-rectangles
andrewvarga f88027b
rename rectOriginMode -> toolVariant, introduce ToolInput type
andrewvarga 2e20bb0
lint
andrewvarga 646bcc0
Merge branch 'main' into andrewvarga/9273/center-and-corner-rectangles
andrewvarga ec8cfaf
fix delete_segments if both line and its points are deleted
andrewvarga 92467e2
center rectangle icon added for center rectangle tool
andrewvarga 688b42e
add tests in rectTool.spec.ts
andrewvarga f15c486
renamings in rectTool
andrewvarga 98a5817
collapse nested ifs into &&
andrewvarga File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@franknoirot I'm thinking we could have separate icons for corner and center rectangles, like a simple dot in the center for the center rectangle and keep corner rectangle the same? It's a small thing I can do even but it would make it more obvious which one is currently selected.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a simple one in 92467e2 but let me know if you have something else in mind