1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-08-20 07:25:59 +00:00

Update notification expiry time constant in

ChartEditorState and ChartEditorDialogHandler
This commit is contained in:
EliteMasterEric 2023-11-05 00:08:06 -04:00
parent a605f53e07
commit 27de7dc036
2 changed files with 5 additions and 5 deletions

View file

@ -1425,7 +1425,7 @@ class ChartEditorState extends HaxeUIState
title: 'Success',
body: 'Loaded chart (${params.fnfcTargetPath})',
type: NotificationType.Success,
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME
expiryMs: Constants.NOTIFICATION_DISMISS_TIME
});
#end
}

View file

@ -231,7 +231,7 @@ class ChartEditorDialogHandler
title: 'Success',
body: 'Loaded chart (${selectedFile.name})',
type: NotificationType.Success,
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME
expiryMs: Constants.NOTIFICATION_DISMISS_TIME
});
#end
@ -248,7 +248,7 @@ class ChartEditorDialogHandler
title: 'Failure',
body: 'Failed to load chart (${selectedFile.name}): ${err}',
type: NotificationType.Error,
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME
expiryMs: Constants.NOTIFICATION_DISMISS_TIME
});
#end
}
@ -270,7 +270,7 @@ class ChartEditorDialogHandler
title: 'Success',
body: 'Loaded chart (${path.toString()})',
type: NotificationType.Success,
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME
expiryMs: Constants.NOTIFICATION_DISMISS_TIME
});
#end
@ -286,7 +286,7 @@ class ChartEditorDialogHandler
title: 'Failure',
body: 'Failed to load chart (${path.toString()}): ${err}',
type: NotificationType.Error,
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME
expiryMs: Constants.NOTIFICATION_DISMISS_TIME
});
#end
}