mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Only show 'saving replay, this might take some time' if notifications are enabled
This commit is contained in:
@@ -58,7 +58,7 @@ namespace gsr {
|
||||
|
||||
perror("gsr-global-hotkeys");
|
||||
_exit(127);
|
||||
return true;
|
||||
return false;
|
||||
} else { // Parent
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -2024,6 +2024,7 @@ namespace gsr {
|
||||
void Overlay::process_gsr_output() {
|
||||
if(replay_save_show_notification && replay_save_clock.get_elapsed_time_seconds() >= replay_saving_notification_timeout_seconds) {
|
||||
replay_save_show_notification = false;
|
||||
if(config.replay_config.record_options.show_notifications)
|
||||
show_notification("Saving replay, this might take some time", notification_timeout_seconds, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::REPLAY);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user