[studio/applib] Change updateHandler to 10 second interval
This commit is contained in:
parent
3cb3bc122b
commit
e8f5c91172
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user