Unpause when stopping recording if paused

This commit is contained in:
dec05eba
2024-10-27 14:54:33 +01:00
parent fde7e3c499
commit 3206458c8d
2 changed files with 5 additions and 1 deletions

View File

@@ -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() {

View File

@@ -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;