Allow changing the event loop tick rate

This also changes the refresh rate for most plugins. You can now lower
this setting if your computer is struggling to keep up with rendering a
certain heavy plugin.
This commit is contained in:
Robbert van der Helm
2021-01-11 23:38:21 +01:00
parent b86df213fb
commit bf3a4e7296
10 changed files with 84 additions and 13 deletions
+1 -1
View File
@@ -145,7 +145,7 @@ Editor::Editor(const Configuration& config,
win32_handle.get(),
idle_timer_id,
std::chrono::duration_cast<std::chrono::milliseconds>(
event_loop_interval)
config.event_loop_interval())
.count())
: Win32Timer()),
idle_timer_proc(std::move(timer_proc)),