mirror of
https://github.com/ppy/osu.git
synced 2024-11-13 16:47:46 +08:00
Use SimpleErrorNotification
for error display
This commit is contained in:
parent
917a68eac3
commit
7c5345bf7e
@ -562,7 +562,7 @@ namespace osu.Game
|
||||
{
|
||||
if (ScreenStack.CurrentScreen is not Editor editor)
|
||||
{
|
||||
Schedule(() => Notifications.Post(new SimpleNotification
|
||||
Schedule(() => Notifications.Post(new SimpleErrorNotification
|
||||
{
|
||||
Icon = FontAwesome.Solid.ExclamationTriangle,
|
||||
Text = EditorStrings.MustBeInEditorToHandleLinks
|
||||
|
@ -1143,7 +1143,7 @@ namespace osu.Game.Screens.Edit
|
||||
{
|
||||
if (!EditorTimestampParser.TryParse(timestamp, out var timeSpan, out string selection))
|
||||
{
|
||||
Schedule(() => notifications?.Post(new SimpleNotification
|
||||
Schedule(() => notifications?.Post(new SimpleErrorNotification
|
||||
{
|
||||
Icon = FontAwesome.Solid.ExclamationTriangle,
|
||||
Text = EditorStrings.FailedToParseEditorLink
|
||||
|
Loading…
Reference in New Issue
Block a user