restore update every frame
This commit is contained in:
@@ -532,12 +532,13 @@ void App::update(float dt)
|
|||||||
reload_timer = 0;
|
reload_timer = 0;
|
||||||
ShaderManager::reload();
|
ShaderManager::reload();
|
||||||
layout.reload();
|
layout.reload();
|
||||||
if (auto* main = layout[main_id])
|
|
||||||
main->update(width, height, zoom);
|
|
||||||
stroke->update_controls();
|
stroke->update_controls();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (auto* main = layout[main_id])
|
||||||
|
main->update(width, height, zoom);
|
||||||
|
|
||||||
{
|
{
|
||||||
static glm::vec4 color_button_normal{ .1, .1, .1, 1 };
|
static glm::vec4 color_button_normal{ .1, .1, .1, 1 };
|
||||||
static glm::vec4 color_button_hlight{ 1, .0, .0, 1 };
|
static glm::vec4 color_button_hlight{ 1, .0, .0, 1 };
|
||||||
|
|||||||
Reference in New Issue
Block a user