1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 00:52:56 +08:00

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

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();