increase stroke idle time
This commit is contained in:
@@ -84,7 +84,7 @@ void App::tick(float dt)
|
||||
{
|
||||
auto t_now = std::chrono::high_resolution_clock::now();
|
||||
float dt = std::chrono::duration<float>(t_now - canvas->m_canvas->m_disrty_stroke_time).count();
|
||||
if (dt > 0.1f && canvas->m_canvas->m_dirty_stroke)
|
||||
if (dt > 0.75f && canvas->m_canvas->m_dirty_stroke)
|
||||
{
|
||||
canvas->m_canvas->m_dirty_stroke = false;
|
||||
LOG("rec tick");
|
||||
|
||||
Reference in New Issue
Block a user