Your ROOT_URL in app.ini is http://git.osmesh.ru/ but you are visiting http://91.221.70.94:3000/MOS/OpenBoard/commit/a3a24b746530af5a3f5c0bbda7a33a9e70a54eac?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
6 additions and
5 deletions
src/board/UBBoardView.cpp
src/domain/UBGraphicsProxyWidget.cpp
src/domain/UBGraphicsScene.cpp
@ -626,6 +626,7 @@ UBBoardView::mouseReleaseEvent (QMouseEvent *event)
{
UBStylusTool : : Enum currentTool = ( UBStylusTool : : Enum ) UBDrawingController : : drawingController ( ) - > stylusTool ( ) ;
setToolCursor ( currentTool ) ;
// first propagate device release to the scene
if ( scene ( ) )
scene ( ) - > inputDeviceRelease ( ) ;
@ -1019,6 +1020,7 @@ UBBoardView::setToolCursor (int tool)
break ;
case UBStylusTool : : Eraser :
controlViewport - > setCursor ( UBResources : : resources ( ) - > eraserCursor ) ;
scene ( ) - > hideEraser ( ) ;
break ;
case UBStylusTool : : Marker :
controlViewport - > setCursor ( UBResources : : resources ( ) - > markerCursor ) ;
@ -47,6 +47,10 @@ UBGraphicsProxyWidget::~UBGraphicsProxyWidget()
QVariant UBGraphicsProxyWidget : : itemChange ( GraphicsItemChange change , const QVariant & value )
{
if ( change = = QGraphicsItem : : ItemCursorHasChanged & & scene ( ) )
{
unsetCursor ( ) ;
}
if ( ( change = = QGraphicsItem : : ItemSelectedHasChanged )
& & scene ( ) )
{
@ -2372,9 +2372,4 @@ void UBGraphicsScene::setToolCursor(int tool)
{
deselectAllItems ( ) ;
}
if ( tool ! = ( int ) UBStylusTool : : Eraser )
{
hideEraser ( ) ;
}
}