mirror of
https://github.com/ppy/osu
synced 2024-12-23 23:33:36 +00:00
Fix ladder permanently disappearing after being dragged offscreen
This commit is contained in:
parent
5a34794240
commit
66b8dc2de7
@ -3,6 +3,7 @@
|
||||
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Framework.Graphics.Primitives;
|
||||
using osu.Framework.Input.Events;
|
||||
using osuTK;
|
||||
|
||||
@ -18,6 +19,8 @@ namespace osu.Game.Tournament.Screens.Ladder
|
||||
|
||||
private float scale = 1;
|
||||
|
||||
protected override bool ComputeIsMaskedAway(RectangleF maskingBounds) => false;
|
||||
|
||||
protected override bool OnDrag(DragEvent e)
|
||||
{
|
||||
this.MoveTo(target += e.Delta, 1000, Easing.OutQuint);
|
||||
|
Loading…
Reference in New Issue
Block a user