limit fps to 60 and disable imgui demo window

This commit is contained in:
2023-08-28 14:06:27 +02:00
parent 610ed10011
commit 9d9a486537
3 changed files with 28 additions and 2 deletions

View File

@ -386,6 +386,7 @@ void ChatGui4::renderMessageBodyFile(Message3Registry& reg, const Message3 e) {
[](const auto& path) -> bool { return std::filesystem::is_directory(path); },
[this, &reg, e](const auto& path) {
if (reg.valid(e)) { // still valid
// TODO: trim file?
reg.emplace<Message::Components::Transfer::ActionAccept>(e, path.string());
_rmm.throwEventUpdate(reg, e);
}