UI: Increase hitboxes and interaction areas for core elements#1995
Open
edumeneses wants to merge 1 commit intomasterfrom
Open
UI: Increase hitboxes and interaction areas for core elements#1995edumeneses wants to merge 1 commit intomasterfrom
edumeneses wants to merge 1 commit intomasterfrom
Conversation
Increased hitboxes and interaction areas for various UI components to improve selection and drag-and-drop usability: - Cables: Increased stroke width from 7 to 14. - Intervals: Added a 5-pixel margin and increased drop threshold to 12. - Conditions: Increased stroke width from 1 to 10. - Events: Widened bounding box from 6 to 12. - States: Enlarged visual radii (full: 6->8, point: 3.5->5). - Ports: Expanded interaction area to 20x20. - Slot Headers: Widened drag area and increased drop threshold between slots.
Member
|
works here! but for me it seems to make it harder to select the cross to create new objects in the timeline: basically only the lower-right or upper-left corner triggers the "creation" yellow or red plus signs now :/ ossia-.2.mp4 |
Member
|
the correct thing to do here in addition to this change is: in src/plugins/score-plugin-scenario/Scenario/Document/State/StateView.hpp, we should implement the following virtual methods for QGraphicsItem, so that it knows that the item does not only have a square shape: an example is in src/plugins/score-plugin-curve/Curve/Segment/CurveSegmentView.hpp. Generally most items should implement these virtual methods, it's more work but also means that if you click outside of the visible area it will be correct |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #1994
Increased hitboxes and interaction areas for various UI components to improve selection and drag-and-drop usability: