mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 13:37:25 +08:00
Update location of FullscreenCapability bindable
This commit is contained in:
parent
445e026a32
commit
6a0047b7a2
@ -73,8 +73,8 @@ namespace osu.Game.Overlays.Settings.Sections.Graphics
|
|||||||
windowModes.BindTo(host.Window.SupportedWindowModes);
|
windowModes.BindTo(host.Window.SupportedWindowModes);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (host.Window is WindowsWindow windowsWindow)
|
if (host.Renderer is IWindowsRenderer windowsRenderer)
|
||||||
fullscreenCapability.BindTo(windowsWindow.FullscreenCapability);
|
fullscreenCapability.BindTo(windowsRenderer.FullscreenCapability);
|
||||||
|
|
||||||
Children = new Drawable[]
|
Children = new Drawable[]
|
||||||
{
|
{
|
||||||
|
@ -261,8 +261,8 @@ namespace osu.Game.Screens.Utility
|
|||||||
|
|
||||||
string exclusive = "unknown";
|
string exclusive = "unknown";
|
||||||
|
|
||||||
if (host.Window is WindowsWindow windowsWindow)
|
if (host.Renderer is IWindowsRenderer windowsRenderer)
|
||||||
exclusive = windowsWindow.FullscreenCapability.ToString();
|
exclusive = windowsRenderer.FullscreenCapability.ToString();
|
||||||
|
|
||||||
statusText.Clear();
|
statusText.Clear();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user