From 66b8dc2de7f9d86da0e7f2fbb1fc822bd3e247b0 Mon Sep 17 00:00:00 2001 From: smoogipoo Date: Fri, 21 Jun 2019 15:47:41 +0900 Subject: [PATCH] Fix ladder permanently disappearing after being dragged offscreen --- osu.Game.Tournament/Screens/Ladder/LadderDragContainer.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osu.Game.Tournament/Screens/Ladder/LadderDragContainer.cs b/osu.Game.Tournament/Screens/Ladder/LadderDragContainer.cs index 3aa06185cb..f613ce5f46 100644 --- a/osu.Game.Tournament/Screens/Ladder/LadderDragContainer.cs +++ b/osu.Game.Tournament/Screens/Ladder/LadderDragContainer.cs @@ -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);