mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-04 14:00:46 +09:00
Allow recording while using replay/streaming and option to save 1 min or 10 min
This commit is contained in:
@@ -181,6 +181,10 @@ namespace gsr {
|
||||
}
|
||||
|
||||
void DropdownButton::add_item(const std::string &text, const std::string &id, const std::string &description) {
|
||||
for(auto &item : items) {
|
||||
if(item.id == id)
|
||||
return;
|
||||
}
|
||||
items.push_back({mgl::Text(text, *title_font), mgl::Text(description, *description_font), nullptr, id});
|
||||
dirty = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user