Skip to content
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

Add to existing selection when dragging with control pressed #29918

Merged
merged 5 commits into from
Sep 30, 2024

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Sep 18, 2024

Closes #29023.

2024-09-18.15-28-13.mp4

@peppy
Copy link
Member

peppy commented Sep 27, 2024

Code looks good and it seems to work in most cases, but I think something weird is going on with the selection point deselection logic:

osu.2024-09-27.at.09.28.44.mp4

If using control to drag just over the centre of the head circle of a slider, it deselects on drag end.

Copy link
Member

@peppy peppy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As commented.

@bdach
Copy link
Collaborator Author

bdach commented Sep 27, 2024

d607331 should do it I believe (although I'm heavily leaning on tests to catch any regressions here since the code is pretty cursed).

@peppy peppy self-requested a review September 30, 2024 04:57
@peppy peppy merged commit a258059 into ppy:master Sep 30, 2024
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multiple selections (holding ctrl) isn't supported in the editor
2 participants