Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/19d74900a4e1b89458c829d02a51f178b3c3ba7a?style=unified&whitespace=show-all You should set ROOT_URL correctly, otherwise the web may not work correctly.

take systemScaleFactor into account for pointer diameter

preferencesAboutTextFull
letsfindaway 4 years ago
parent 32ae89197a
commit 19d74900a4
  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