Use new static IsDebug method

This commit is contained in:
Dean Herbert
2017-09-19 13:29:50 +09:00
parent 511874389a
commit 096f53d769
3 changed files with 6 additions and 16 deletions

View File

@ -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,
},
};
}