-
Notifications
You must be signed in to change notification settings - Fork 179
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
Include border into the element selection line #11940
Conversation
This pull request introduces 3 alerts when merging 936fcb0 into 88943a0 - view on LGTM.com new alerts:
|
This pull request introduces 3 alerts when merging 55bb1b2 into 88943a0 - view on LGTM.com new alerts:
|
This pull request introduces 3 alerts when merging 09ace6c into 6460356 - view on LGTM.com new alerts:
|
A side effect of that(?) is the alignment for those elements is trickier, we should probably consult that with UX but Andrew is out until Wednesday. |
This was actually like this before as well -- since the border width isn't included to the width/height currently either. Since we're using non-responsive CSS border but the elements are responsive, using the border to align is not really possible and is as it was before. We could create a follow-up issue if this needs changing. |
Plugin builds for 43e0f5f are ready 🛎️!
|
Oh, that's good then - no change in behavior 👍🏻 |
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.
LG, @barklund PTAL and let's move it to QA because there is a lot to check.
Moved it to QA already in case something time-consuming comes up but would be still good to get a review from @barklund, too. |
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.
Generally looks great, but found a few edge-cases with bugs.
Context
Originally only an "outer" border was implemented outside of the selection line.
It was discussed later that the border should also be included in the selection line, so the user can snap by the border and also select an element by clicking on the border.
Summary
This PR adjusts the frame, edit, display mode to include the border into the selection line.
Relevant Technical Choices
To-do
User-facing changes
Testing Instructions
This PR can be tested by following these steps:
Reviews
Does this PR have a security-related impact?
Does this PR change what data or activity we track or use?
Does this PR have a legal-related impact?
Checklist
Type: XYZ
label to the PRFixes #5325