Commit 1070251d authored by Craig Watson's avatar Craig Watson

When drawing with pressure, set pressure to be 20% minimum

parent 5bf52b8b
......@@ -501,7 +501,7 @@ bool UBGraphicsScene::inputDeviceMove(const QPointF& scenePos, const qreal& pres
if (currentTool != UBStylusTool::Line){
// Handle the pressure
width = dc->currentToolWidth() * pressure;
width = dc->currentToolWidth() * qMax(pressure, 0.2);
}else{
// Ignore pressure for line tool
width = dc->currentToolWidth();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment