Add Blur tool

This commit is contained in:
lupoDharkael
2017-12-04 00:28:25 +01:00
parent 41290f0212
commit b0f385caf4
12 changed files with 210 additions and 3 deletions

View File

@@ -446,7 +446,8 @@ void CaptureWidget::setState(CaptureButton *b) {
m_state = t;
m_toolIsForDrawing =
(b->tool()->toolType() !=
CaptureTool::ToolWorkType::TYPE_WORKER);
CaptureTool::ToolWorkType::TYPE_WORKER) &&
b->buttonType() != CaptureButton::TYPE_BLUR;
if (m_lastPressedButton) {
m_lastPressedButton->setColor(m_uiColor);
}