[studio/applib] Change updateHandler to 10 second interval

This commit is contained in:
Gary Talent 2024-06-01 13:58:15 -05:00
parent 3cb3bc122b
commit e8f5c91172

View File

@ -31,7 +31,7 @@ class StudioUIDrawer: public turbine::gl::Drawer {
static int updateHandler(turbine::Context &ctx) noexcept { static int updateHandler(turbine::Context &ctx) noexcept {
auto sctx = turbine::applicationData<studio::StudioContext>(ctx); auto sctx = turbine::applicationData<studio::StudioContext>(ctx);
sctx->ui.update(); sctx->ui.update();
return 1000; return 10 * 1000;
} }
static void keyEventHandler(turbine::Context &ctx, turbine::Key key, bool down) noexcept { static void keyEventHandler(turbine::Context &ctx, turbine::Key key, bool down) noexcept {