aboutsummaryrefslogtreecommitdiff
path: root/src/Overlay.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-10-27 14:54:33 +0100
committerdec05eba <dec05eba@protonmail.com>2024-10-27 14:54:33 +0100
commit3206458c8da8d950298558df54e90907a4cc539b (patch)
tree68f936eda7d03a46568ab27cb137892a9c886358 /src/Overlay.cpp
parentfde7e3c499f3a460b62c0aca34159aa1d3e340a1 (diff)
Unpause when stopping recording if paused
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r--src/Overlay.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index becf7d2..ed5c3a7 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -774,6 +774,10 @@ namespace gsr {
record_dropdown_button_ptr->set_activated(false);
record_dropdown_button_ptr->set_description("Not recording");
record_dropdown_button_ptr->set_item_icon("start", &get_theme().play_texture);
+
+ record_dropdown_button_ptr->set_item_label("pause", "Pause");
+ record_dropdown_button_ptr->set_item_icon("pause", &get_theme().pause_texture);
+ paused = false;
}
void Overlay::update_ui_streaming_started() {