implementing separate pen/erase brush settings

This commit is contained in:
2017-09-28 16:43:53 +01:00
parent 2c0007c3c1
commit c85ce8cb8f
5 changed files with 36 additions and 0 deletions

View File

@@ -93,6 +93,9 @@ public:
I->m_mode = &modes[(int)mode];
I->m_state = mode;
I->m_current_mode = mode;
if (I->m_mode)
for (auto& m : *I->m_mode)
m->enter();
}
std::vector<Layer::Snapshot> m_layers_snapshot;