mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 04:43:22 +08:00
Add contains override to allow correct rendering by CursorContainer on window bounds.
This commit is contained in:
parent
a69c5b4fc0
commit
ae6fb0553d
@ -1,7 +1,6 @@
|
|||||||
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
|
||||||
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
||||||
|
|
||||||
using osu.Framework.Graphics;
|
|
||||||
using osu.Framework.Graphics.Containers;
|
using osu.Framework.Graphics.Containers;
|
||||||
using OpenTK;
|
using OpenTK;
|
||||||
|
|
||||||
@ -9,6 +8,8 @@ namespace osu.Game.Graphics.Processing
|
|||||||
{
|
{
|
||||||
class RatioAdjust : LargeContainer
|
class RatioAdjust : LargeContainer
|
||||||
{
|
{
|
||||||
|
public override bool Contains(Vector2 screenSpacePos) => true;
|
||||||
|
|
||||||
protected override void Update()
|
protected override void Update()
|
||||||
{
|
{
|
||||||
base.Update();
|
base.Update();
|
||||||
|
Loading…
Reference in New Issue
Block a user