aboutsummaryrefslogtreecommitdiff
path: root/src/Overlay.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-11-14 01:10:42 +0100
committerdec05eba <dec05eba@protonmail.com>2024-11-14 01:10:42 +0100
commit7d4762e0f2594125d6eeb0a09283ecbadcbdf562 (patch)
tree26b1fcbb4ce0aae0e79027ea5aac690069ef7ed1 /src/Overlay.cpp
parentd2f6b0738bdd90a5503fff404dfa4f0ad0962ef3 (diff)
Dont show notification when stopping replay on fullscreen moving to windowed
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r--src/Overlay.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index 8cd4bb9..79e7bdc 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -874,7 +874,7 @@ namespace gsr {
on_press_start_replay(false);
} else if(recording_status == RecordingStatus::REPLAY) {
if(focused_window == 0 || !window_is_fullscreen(display, focused_window))
- on_press_start_replay(false);
+ on_press_start_replay(true);
}
}
@@ -1067,7 +1067,7 @@ namespace gsr {
update_ui_replay_stopped();
// TODO: Show this with a slight delay to make sure it doesn't show up in the video
- if(config.replay_config.show_replay_stopped_notifications)
+ if(!disable_notification && config.replay_config.show_replay_stopped_notifications)
show_notification("Replay stopped", 3.0, mgl::Color(255, 255, 255), get_color_theme().tint_color, NotificationType::REPLAY);
return;
}