mirror of
https://github.com/osukey/osukey.git
synced 2025-06-05 12:57:39 +09:00
Merge pull request #15881 from peppy/fix-toast-mutation
This commit is contained in:
commit
65054986ba
@ -95,13 +95,13 @@ namespace osu.Game.Overlays
|
|||||||
/// Displays the provided <see cref="Toast"/> temporarily.
|
/// Displays the provided <see cref="Toast"/> temporarily.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="toast"></param>
|
/// <param name="toast"></param>
|
||||||
public void Display(Toast toast)
|
public void Display(Toast toast) => Schedule(() =>
|
||||||
{
|
{
|
||||||
box.Child = toast;
|
box.Child = toast;
|
||||||
DisplayTemporarily(box);
|
DisplayTemporarily(box);
|
||||||
}
|
});
|
||||||
|
|
||||||
private void displayTrackedSettingChange(SettingDescription description) => Schedule(() => Display(new TrackedSettingToast(description)));
|
private void displayTrackedSettingChange(SettingDescription description) => Display(new TrackedSettingToast(description));
|
||||||
|
|
||||||
private TransformSequence<Drawable> fadeIn;
|
private TransformSequence<Drawable> fadeIn;
|
||||||
private ScheduledDelegate fadeOut;
|
private ScheduledDelegate fadeOut;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user