Skip to content

Commit

Permalink
Fix stroke not being shown on a selection while drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
MrStevns committed Jan 17, 2024
1 parent 3c9a7a4 commit 50ab71d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_lib/src/canvaspainter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ void CanvasPainter::paintCurrentBitmapFrame(QPainter& painter, const QRect& blit
}

// We do not wish to draw selection transformations on anything but the current layer
if (isCurrentLayer && mRenderTransform) {
if (isCurrentLayer && mRenderTransform && !isDrawing) {
paintTransformedSelection(currentBitmapPainter, paintedImage, mSelection);
}

Expand Down

0 comments on commit 50ab71d

Please sign in to comment.