mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 23:42:55 +08:00
Fix potential cross-thread drawable operation in round editor screen
This commit is contained in:
parent
de2dac22b8
commit
64f9d6c891
@ -256,7 +256,7 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
mods.BindValueChanged(modString => Model.Mods = modString.NewValue);
|
||||
}
|
||||
|
||||
private void updatePanel()
|
||||
private void updatePanel() => Schedule(() =>
|
||||
{
|
||||
drawableContainer.Clear();
|
||||
|
||||
@ -269,7 +269,7 @@ namespace osu.Game.Tournament.Screens.Editors
|
||||
Width = 300
|
||||
};
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user