1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-09-12 05:07:06 +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', title: 'Success',
body: 'Loaded chart (${params.fnfcTargetPath})', body: 'Loaded chart (${params.fnfcTargetPath})',
type: NotificationType.Success, type: NotificationType.Success,
expiryMs: ChartEditorState.NOTIFICATION_DISMISS_TIME expiryMs: Constants.NOTIFICATION_DISMISS_TIME
}); });
#end #end
} }

View file

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