Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/93fcf6c2e65b380e88156071700a4a0b33680921
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
4 additions and
1 deletions
src/tools/UBGraphicsCompass.cpp
src/tools/UBGraphicsProtractor.cpp
src/tools/UBGraphicsRuler.cpp
@ -122,6 +122,9 @@ void UBGraphicsCompass::paint(QPainter *painter, const QStyleOptionGraphicsItem
Q_UNUSED ( styleOption ) ;
Q_UNUSED ( widget ) ;
painter - > setBrush ( edgeFillColor ( ) ) ;
mAntiScaleRatio = 1 / ( UBApplication : : boardController - > systemScaleFactor ( ) * UBApplication : : boardController - > currentZoom ( ) ) ;
QTransform antiScaleTransform ;
antiScaleTransform . scale ( mAntiScaleRatio , mAntiScaleRatio ) ;
@ -488,7 +488,6 @@ void UBGraphicsProtractor::paintButtons(QPainter *painter)
void UBGraphicsProtractor : : paintAngleMarker ( QPainter * painter )
{
painter - > save ( ) ;
painter - > translate ( rect ( ) . center ( ) ) ;
painter - > rotate ( - mStartAngle ) ;
painter - > translate ( - rect ( ) . center ( ) . x ( ) , - rect ( ) . center ( ) . y ( ) ) ;
@ -121,6 +121,7 @@ void UBGraphicsRuler::paint(QPainter *painter, const QStyleOptionGraphicsItem *s
painter - > setPen ( drawColor ( ) ) ;
painter - > setBrush ( edgeFillColor ( ) ) ;
painter - > setRenderHint ( QPainter : : Antialiasing , true ) ;
painter - > drawRoundedRect ( rect ( ) , sRoundingRadius , sRoundingRadius ) ;
fillBackground ( painter ) ;