diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-10-27 14:54:33 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-10-27 14:54:33 +0100 |
commit | 3206458c8da8d950298558df54e90907a4cc539b (patch) | |
tree | 68f936eda7d03a46568ab27cb137892a9c886358 /src | |
parent | fde7e3c499f3a460b62c0aca34159aa1d3e340a1 (diff) |
Unpause when stopping recording if paused
Diffstat (limited to 'src')
-rw-r--r-- | src/Overlay.cpp | 4 | ||||
-rw-r--r-- | src/gui/SettingsPage.cpp | 2 |
2 files changed, 5 insertions, 1 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() { diff --git a/src/gui/SettingsPage.cpp b/src/gui/SettingsPage.cpp index fc376ad..057497f 100644 --- a/src/gui/SettingsPage.cpp +++ b/src/gui/SettingsPage.cpp @@ -135,7 +135,7 @@ namespace gsr { std::unique_ptr<List> SettingsPage::create_video_resolution_section() { auto video_resolution_list = std::make_unique<List>(List::Orientation::VERTICAL); - video_resolution_list->add_widget(std::make_unique<Label>(&get_theme().body_font, "Video resolution:", get_color_theme().text_color)); + video_resolution_list->add_widget(std::make_unique<Label>(&get_theme().body_font, "Video resolution limit:", get_color_theme().text_color)); video_resolution_list->add_widget(create_video_resolution()); video_resolution_list_ptr = video_resolution_list.get(); return video_resolution_list; |