improve scrollbar detection and scroll behavior

This commit is contained in:
2019-01-31 15:09:49 +01:00
parent fbe07e2fc6
commit 6159e71eed
5 changed files with 44 additions and 10 deletions

View File

@@ -822,8 +822,6 @@ void App::initLayout()
brush_update();
TextureManager::load("data/paper.jpg");
// hacky thing to make the toolbar buttons not steal events when moving cursor fast
if (auto* toolbar = layout[main_id]->find<Node>("toolbar"))
toolbar->m_flood_events = true;