mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 01:27:29 +08:00
Fix dragging slider bars on nub not performing correctly relative movement
This commit is contained in:
parent
24cd845d1b
commit
b626135940
@ -165,6 +165,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
base.OnHoverLost(e);
|
base.OnHoverLost(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected override bool ShouldHandleAsRelativeDrag(MouseDownEvent e)
|
||||||
|
=> Nub.ReceivePositionalInputAt(e.ScreenSpaceMouseDownPosition);
|
||||||
|
|
||||||
protected override void OnDragEnd(DragEndEvent e)
|
protected override void OnDragEnd(DragEndEvent e)
|
||||||
{
|
{
|
||||||
updateGlow();
|
updateGlow();
|
||||||
|
Loading…
Reference in New Issue
Block a user