mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
Give CursorTrail its own clock for the time being.
This commit is contained in:
parent
1f4e0b0251
commit
13f057f900
@ -13,6 +13,7 @@ using osu.Framework.Graphics.OpenGL.Buffers;
|
|||||||
using OpenTK.Graphics.ES30;
|
using OpenTK.Graphics.ES30;
|
||||||
using osu.Framework.Graphics.Primitives;
|
using osu.Framework.Graphics.Primitives;
|
||||||
using osu.Framework.Graphics.Colour;
|
using osu.Framework.Graphics.Colour;
|
||||||
|
using osu.Framework.Timing;
|
||||||
|
|
||||||
namespace osu.Game.Graphics.Cursor
|
namespace osu.Game.Graphics.Cursor
|
||||||
{
|
{
|
||||||
@ -58,6 +59,9 @@ namespace osu.Game.Graphics.Cursor
|
|||||||
|
|
||||||
public CursorTrail()
|
public CursorTrail()
|
||||||
{
|
{
|
||||||
|
// as we are currently very dependent on having a running clock, let's make our own clock for the time being.
|
||||||
|
Clock = new FramedClock();
|
||||||
|
|
||||||
AlwaysReceiveInput = true;
|
AlwaysReceiveInput = true;
|
||||||
RelativeSizeAxes = Axes.Both;
|
RelativeSizeAxes = Axes.Both;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user