From 7d4762e0f2594125d6eeb0a09283ecbadcbdf562 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 14 Nov 2024 01:10:42 +0100 Subject: Dont show notification when stopping replay on fullscreen moving to windowed --- src/Overlay.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Overlay.cpp') 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; } -- cgit v1.2.3