Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/1b3295188b8a0110385f4085bff61ceaccfae474?style=split&whitespace=show-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
2 changed files with
6 additions and
3 deletions
src/tools/UBGraphicsRuler.cpp
src/tools/UBGraphicsTriangle.cpp
@ -447,9 +447,11 @@ UBGraphicsScene* UBGraphicsRuler::scene() const
void UBGraphicsRuler : : StartLine ( const QPointF & scenePos , qreal width )
void UBGraphicsRuler : : StartLine ( const QPointF & scenePos , qreal width )
{
{
Q_UNUSED ( width ) ;
QPointF itemPos = mapFromScene ( scenePos ) ;
QPointF itemPos = mapFromScene ( scenePos ) ;
mStrokeWidth = width ;
mStrokeWidth = UBDra wingController : : drawingController ( ) - > currentToolWi dth( ) ;
qreal y ;
qreal y ;
@ -461,7 +463,7 @@ void UBGraphicsRuler::StartLine(const QPointF& scenePos, qreal width)
else
else
{
{
drawLineDirection = 1 ;
drawLineDirection = 1 ;
y = rect ( ) . y ( ) - w idth / 2 ;
y = rect ( ) . y ( ) - mStrokeW idth / 2 ;
}
}
if ( itemPos . x ( ) < rect ( ) . x ( ) + sLeftEdgeMargin )
if ( itemPos . x ( ) < rect ( ) . x ( ) + sLeftEdgeMargin )
@ -854,8 +854,9 @@ void UBGraphicsTriangle::hoverMoveEvent(QGraphicsSceneHoverEvent *event)
}
}
void UBGraphicsTriangle : : StartLine ( const QPointF & scenePos , qreal width )
void UBGraphicsTriangle : : StartLine ( const QPointF & scenePos , qreal width )
{
{
Q_UNUSED ( width ) ;
QPointF itemPos = mapFromScene ( scenePos ) ;
QPointF itemPos = mapFromScene ( scenePos ) ;
mStrokeWidth = width ;
mStrokeWidth = UBDra wingController : : drawingController ( ) - > currentToolWi dth( ) ;
qreal y ;
qreal y ;