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

preferencesAboutTextFull
Craig Watson 8 years ago
parent 5bf52b8b3f
commit 1070251d1c
  1. 2
      src/domain/UBGraphicsScene.cpp

@ -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();

Loading…
Cancel
Save