From ae6fb0553dfa2678f3769e07b8ddd5d79be4c088 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 28 Sep 2016 16:42:16 +0900 Subject: [PATCH] Add contains override to allow correct rendering by CursorContainer on window bounds. --- osu.Game/Graphics/Processing/RatioAdjust.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osu.Game/Graphics/Processing/RatioAdjust.cs b/osu.Game/Graphics/Processing/RatioAdjust.cs index 2f3a7d3a2a..2d65038d07 100644 --- a/osu.Game/Graphics/Processing/RatioAdjust.cs +++ b/osu.Game/Graphics/Processing/RatioAdjust.cs @@ -1,7 +1,6 @@ //Copyright (c) 2007-2016 ppy Pty Ltd . //Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE -using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using OpenTK; @@ -9,6 +8,8 @@ namespace osu.Game.Graphics.Processing { class RatioAdjust : LargeContainer { + public override bool Contains(Vector2 screenSpacePos) => true; + protected override void Update() { base.Update();