mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Use new static IsDebug method
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
|
||||
using System.Collections.Generic;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Development;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
using osu.Game.Graphics;
|
||||
@ -64,7 +65,7 @@ namespace osu.Game.Overlays.Settings
|
||||
Origin = Anchor.TopCentre,
|
||||
TextSize = 14,
|
||||
Text = game.Version,
|
||||
Colour = game.IsDebug ? colours.Red : Color4.White,
|
||||
Colour = DebugUtils.IsDebug ? colours.Red : Color4.White,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user