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");
|
perror("gsr-global-hotkeys");
|
||||||
_exit(127);
|
_exit(127);
|
||||||
return true;
|
return false;
|
||||||
} else { // Parent
|
} else { // Parent
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2024,7 +2024,8 @@ namespace gsr {
|
|||||||
void Overlay::process_gsr_output() {
|
void Overlay::process_gsr_output() {
|
||||||
if(replay_save_show_notification && replay_save_clock.get_elapsed_time_seconds() >= replay_saving_notification_timeout_seconds) {
|
if(replay_save_show_notification && replay_save_clock.get_elapsed_time_seconds() >= replay_saving_notification_timeout_seconds) {
|
||||||
replay_save_show_notification = false;
|
replay_save_show_notification = false;
|
||||||
show_notification("Saving replay, this might take some time", notification_timeout_seconds, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::REPLAY);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(gpu_screen_recorder_process_output_file) {
|
if(gpu_screen_recorder_process_output_file) {
|
||||||
|
|||||||
Reference in New Issue
Block a user