Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting https://git.osmesh.ru/MOS/OpenBoard/commit/4d74341c689ffad7644c88127f845ea59eb0581a?style=unified&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
6 additions and
1 deletions
src/adaptors/UBSvgSubsetAdaptor.cpp
src/domain/UBGraphicsScene.cpp
src/domain/UBGraphicsStrokesGroup.cpp
@ -1111,7 +1111,7 @@ bool UBSvgSubsetAdaptor::UBSvgSubsetWriter::persistScene(int pageIndex)
if ( colorOnDarkBackground . isValid ( ) & & colorOnLightBackground . isValid ( ) )
{
mXmlWriter . writeAttribute ( UBSettings : : uniboardDocumentNamespaceUri , " z-value "
, QString ( " %1 " ) . arg ( polygonItem - > zValue ( ) ) ) ;
, QString ( " %1 " ) . arg ( polygonItem - > strokesGroup ( ) - > zValue ( ) ) ) ;
mXmlWriter . writeAttribute ( UBSettings : : uniboardDocumentNamespaceUri
, " fill-on-dark-background " , colorOnDarkBackground . name ( ) ) ;
@ -262,6 +262,10 @@ qreal UBZLayerController::changeZLevelTo(QGraphicsItem *item, moveDestination de
}
//Return new z value assigned to item
// experimental
item - > setZValue ( item - > data ( UBGraphicsItemData : : ItemOwnZValue ) . toReal ( ) ) ;
return item - > data ( UBGraphicsItemData : : ItemOwnZValue ) . toReal ( ) ;
}
@ -185,6 +185,7 @@ void UBGraphicsStrokesGroup::copyItemParameters(UBItem *copy) const
cp - > setFlag ( QGraphicsItem : : ItemIsSelectable , true ) ;
cp - > setData ( UBGraphicsItemData : : ItemLayerType , this - > data ( UBGraphicsItemData : : ItemLayerType ) ) ;
cp - > setData ( UBGraphicsItemData : : ItemLocked , this - > data ( UBGraphicsItemData : : ItemLocked ) ) ;
cp - > setZValue ( this - > zValue ( ) ) ;
}
}