Merge pull request #464 from letsfindaway/bug-444-pointer-scaling

Take systemScaleFactor into account for pointer diameter
preferencesAboutTextFull
kaamui 4 years ago committed by GitHub
commit c278d541fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/domain/UBGraphicsScene.cpp

@ -808,6 +808,7 @@ void UBGraphicsScene::hideEraser()
void UBGraphicsScene::drawPointer(const QPointF &pPoint, bool isFirstDraw)
{
qreal pointerDiameter = UBSettings::pointerDiameter / UBApplication::boardController->currentZoom();
pointerDiameter /= UBApplication::boardController->systemScaleFactor();
qreal pointerRadius = pointerDiameter / 2;
// TODO UB 4.x optimize - no need to do that every time we move it

Loading…
Cancel
Save