Skip to content

Commit

Permalink
A missing change of 7ff64b0
Browse files Browse the repository at this point in the history
  • Loading branch information
chchwy committed Nov 27, 2017
1 parent 7ff64b0 commit 9a9afad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core_lib/tool/penciltool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void PencilTool::drawStroke()
{
QPointF point = mLastBrushPoint + ( i + 1 ) * brushStep * ( getCurrentPoint() - mLastBrushPoint ) / distance;
rect.extend( point.toPoint() );
mScribbleArea->drawPencil( QPoint( qRound(point.x() ), qRound(point.y() )),
mScribbleArea->drawPencil(point,
brushWidth,
mEditor->color()->frontColor(),
opacity );
Expand Down

0 comments on commit 9a9afad

Please sign in to comment.