mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 20:07:29 +08:00
Merge pull request #21731 from peppy/fix-stuck-file-select-overlay
Fix file select popup getting stuck when switching first run screens while selecting
This commit is contained in:
commit
a0e9004655
@ -126,7 +126,8 @@ namespace osu.Game.Overlays.FirstRunSetup
|
||||
|
||||
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)
|
||||
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;
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
public readonly StableContent StableContent;
|
||||
|
Loading…
Reference in New Issue
Block a user