1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-14 16:37:26 +08:00

Merge branch 'master' into ui-scale-only-show-one-screen

This commit is contained in:
Bartłomiej Dach 2022-12-20 18:23:37 +01:00
commit 8ead606065
No known key found for this signature in database

View File

@ -126,7 +126,8 @@ namespace osu.Game.Overlays.FirstRunSetup
if (available) if (available)
{ {
copyInformation.Text = "Data migration will use \"hard links\". No extra disk space will be used, and you can delete either data folder at any point without affecting the other installation."; copyInformation.Text =
"Data migration will use \"hard links\". No extra disk space will be used, and you can delete either data folder at any point without affecting the other installation.";
} }
else if (RuntimeInfo.OS != RuntimeInfo.Platform.Windows) else if (RuntimeInfo.OS != RuntimeInfo.Platform.Windows)
copyInformation.Text = "Lightweight linking of files is not supported on your operating system yet, so a copy of all files will be made during import."; copyInformation.Text = "Lightweight linking of files is not supported on your operating system yet, so a copy of all files will be made during import.";
@ -173,6 +174,18 @@ namespace osu.Game.Overlays.FirstRunSetup
c.Current.Disabled = !allow; c.Current.Disabled = !allow;
} }
public override void OnSuspending(ScreenTransitionEvent e)
{
stableLocatorTextBox.HidePopover();
base.OnSuspending(e);
}
public override bool OnExiting(ScreenExitEvent e)
{
stableLocatorTextBox.HidePopover();
return base.OnExiting(e);
}
private partial class ImportCheckbox : SettingsCheckbox private partial class ImportCheckbox : SettingsCheckbox
{ {
public readonly StableContent StableContent; public readonly StableContent StableContent;