-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 ability to change slider length by dragging slider tail #25953
Merged
Merged
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
22a0bc7
Add basic slider distance control
OliBomby 1258a9d
Find closest distance value to mouse
OliBomby 1365a1b
fix tests
OliBomby 3aaf0b3
Add slider tail dragging test
OliBomby 66f4dcc
fix repeat sliders half
OliBomby f7cb6b9
Fix all repeat sliders being draggable
OliBomby d000da7
fix code quality
OliBomby 2261d65
Merge remote-tracking branch 'upstream/master' into free-sliders
OliBomby 203e928
End circle only gets brighter once shift is held
OliBomby 7254096
fix isDragging being always true
OliBomby ca41c84
trim excess control points on drag end
OliBomby bb38cb4
simplify tracking changes in shift key status
OliBomby 77b47ad
simplify nullability annotation
OliBomby 484e04a
Merge branch 'free-sliders' of https://github.com/OliBomby/osu into f…
OliBomby 34c4ee7
add CanBeNull attribute to LastRepeat
OliBomby 8291999
dont light up tail piece when hovering anchor
OliBomby efc8e14
activate length change with context menu
OliBomby d7fee53
Merge remote-tracking branch 'upstream/master' into free-sliders
OliBomby b24bfa2
click to choose length instead of drag
OliBomby 956bdbc
fix tests
OliBomby 3926af1
Use draggable handle for length adjust
OliBomby 5697c82
add a small bias towards longer distances to prevent jittery behaviou…
OliBomby 89f106d
Merge remote-tracking branch 'upstream/master' into free-sliders
OliBomby c1414f3
Merge branch 'master' into free-sliders
peppy 9fb9a54
hold shift to adjust velocity instead of duration
OliBomby c57232c
enforce minimum duration based on snap
OliBomby 0c6bee4
Merge branch 'master' into free-sliders
peppy 094b184
snap the slider duration in normal drag
OliBomby 4fc96eb
Tidy some thing up
peppy 50a8348
Apply NRT to remaining classes in slider blueprint namespace
peppy 1b26e1c
Merge branch 'master' into free-sliders
peppy 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 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 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.
This is a bit hand-wavey but I guess it's okay.