mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 15:22:55 +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);
|
||||
}
|
||||
|
||||
if (host.Window is WindowsWindow windowsWindow)
|
||||
fullscreenCapability.BindTo(windowsWindow.FullscreenCapability);
|
||||
if (host.Renderer is IWindowsRenderer windowsRenderer)
|
||||
fullscreenCapability.BindTo(windowsRenderer.FullscreenCapability);
|
||||
|
||||
Children = new Drawable[]
|
||||
{
|
||||
|
@ -261,8 +261,8 @@ namespace osu.Game.Screens.Utility
|
||||
|
||||
string exclusive = "unknown";
|
||||
|
||||
if (host.Window is WindowsWindow windowsWindow)
|
||||
exclusive = windowsWindow.FullscreenCapability.ToString();
|
||||
if (host.Renderer is IWindowsRenderer windowsRenderer)
|
||||
exclusive = windowsRenderer.FullscreenCapability.ToString();
|
||||
|
||||
statusText.Clear();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user