mirror of
https://github.com/osukey/osukey.git
synced 2025-05-25 15:37:24 +09:00
Fixed test case
This commit is contained in:
parent
5450499415
commit
13df0e0b04
@ -298,8 +298,6 @@ namespace osu.Game
|
|||||||
|
|
||||||
private Container overlayContent;
|
private Container overlayContent;
|
||||||
|
|
||||||
public readonly Bindable<OsuScreen> CurrentScreen = new Bindable<OsuScreen>();
|
|
||||||
|
|
||||||
private FrameworkConfigManager frameworkConfig;
|
private FrameworkConfigManager frameworkConfig;
|
||||||
|
|
||||||
private void screenChanged(Screen newScreen)
|
private void screenChanged(Screen newScreen)
|
||||||
|
@ -18,6 +18,7 @@ using osu.Game.Graphics;
|
|||||||
using osu.Game.Graphics.Cursor;
|
using osu.Game.Graphics.Cursor;
|
||||||
using osu.Game.Graphics.Processing;
|
using osu.Game.Graphics.Processing;
|
||||||
using osu.Game.Online.API;
|
using osu.Game.Online.API;
|
||||||
|
using osu.Game.Screens;
|
||||||
using SQLite.Net;
|
using SQLite.Net;
|
||||||
using osu.Framework.Graphics.Performance;
|
using osu.Framework.Graphics.Performance;
|
||||||
|
|
||||||
@ -45,6 +46,8 @@ namespace osu.Game
|
|||||||
|
|
||||||
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
|
public readonly Bindable<WorkingBeatmap> Beatmap = new Bindable<WorkingBeatmap>();
|
||||||
|
|
||||||
|
public readonly Bindable<OsuScreen> CurrentScreen = new Bindable<OsuScreen>();
|
||||||
|
|
||||||
private Bindable<bool> fpsDisplayVisible;
|
private Bindable<bool> fpsDisplayVisible;
|
||||||
|
|
||||||
protected AssemblyName AssemblyName => Assembly.GetEntryAssembly()?.GetName() ?? new AssemblyName { Version = new Version() };
|
protected AssemblyName AssemblyName => Assembly.GetEntryAssembly()?.GetName() ?? new AssemblyName { Version = new Version() };
|
||||||
|
@ -88,7 +88,7 @@ namespace osu.Game.Overlays
|
|||||||
}
|
}
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OsuGame game, OsuColour colours, LocalisationEngine localisation)
|
private void load(OsuGameBase game, OsuColour colours, LocalisationEngine localisation)
|
||||||
{
|
{
|
||||||
this.localisation = localisation;
|
this.localisation = localisation;
|
||||||
|
|
||||||
@ -222,7 +222,7 @@ namespace osu.Game.Overlays
|
|||||||
|
|
||||||
private void screenChanged(OsuScreen newScreen)
|
private void screenChanged(OsuScreen newScreen)
|
||||||
{
|
{
|
||||||
canChangeBeatmap = newScreen?.CanChangeBeatmap ?? false;
|
canChangeBeatmap = newScreen?.CanChangeBeatmap ?? true;
|
||||||
|
|
||||||
prevButton.Enabled = canChangeBeatmap;
|
prevButton.Enabled = canChangeBeatmap;
|
||||||
playButton.Enabled = canChangeBeatmap;
|
playButton.Enabled = canChangeBeatmap;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user