Skip to content

Commit bb35d6c

Browse files
committed
fix tap to point function
1 parent 8003f86 commit bb35d6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/DrawingWidget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ void DrawingWidget::eventHandler(int source, int type, int id, QPointF pos, floa
597597
penStyle = LINE;
598598
addPoint(id, pos+QPointF(0,1));
599599
painter.begin(&image);
600-
drawLineToFunc(id, pressure);
600+
drawLineToFunc(id, 1.0);
601601
painter.end();
602602
penStyle = fpenStype;
603603
}

0 commit comments

Comments
 (0)