Enable dynamics for Eraser

This commit is contained in:
David Capello 2020-04-30 09:02:05 -03:00
parent b989b46ff2
commit 0ad50373d3

View File

@ -147,7 +147,6 @@ public:
{
#ifdef ENABLE_UI // TODO add dynamics support when UI is not enabled
if (m_controller->isFreehand() &&
!m_ink->isEraser() &&
!m_pointShape->isFloodFill()) {
m_dynamics = App::instance()->contextBar()->getDynamics();
}