mirror of
https://github.com/ppy/osu.git
synced 2026-06-04 21:39:30 +08:00
Add contains override to allow correct rendering by CursorContainer on window bounds.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user