Add contains override to allow correct rendering by CursorContainer on window bounds.

This commit is contained in:
Dean Herbert 2016-09-28 16:42:16 +09:00
parent a69c5b4fc0
commit ae6fb0553d
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,6 @@
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//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();