From ea5cf3e042c23d703915c23b7f29f174845cda7b Mon Sep 17 00:00:00 2001 From: Yuriy Puchkov Date: Tue, 12 Jan 2021 18:27:29 +0200 Subject: [PATCH] fix - Line starts from the different point after changing line color (cherry picked from commit 208f930d4e9425db6c58abd8ffdb2cc0fb6c685a) --- src/widgets/capture/capturewidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/capture/capturewidget.cpp b/src/widgets/capture/capturewidget.cpp index 0494d6b4..b237ff2e 100644 --- a/src/widgets/capture/capturewidget.cpp +++ b/src/widgets/capture/capturewidget.cpp @@ -408,6 +408,7 @@ void CaptureWidget::mousePressEvent(QMouseEvent* e) &CaptureTool::requestAction, this, &CaptureWidget::handleButtonSignal); + m_context.mousePos = e->pos(); m_activeTool->drawStart(m_context); return; }