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

QGraphicsView::mouseMoveEvent should be called if tool is selector or play but mouse not pressed

preferencesAboutTextFull
Clément Fauconnier 4 years ago
parent aa558673e4
commit 4c95514a1a
  1. 10
      src/board/UBBoardView.cpp

@ -848,6 +848,13 @@ void UBBoardView::handleItemMouseMove(QMouseEvent *event)
QGraphicsView::mouseMoveEvent (event);
posAfterMove = getMovingItem()->pos();
}
else
{
if (!mMouseButtonIsPressed)
{
QGraphicsView::mouseMoveEvent(event);
}
}
mWidgetMoved = ((posAfterMove-posBeforeMove).manhattanLength() != 0);
@ -1134,9 +1141,6 @@ void UBBoardView::mouseMoveEvent (QMouseEvent *event)
return;
}
if ((UBDrawingController::drawingController()->isDrawingTool()) && !mMouseButtonIsPressed)
QGraphicsView::mouseMoveEvent(event);
int currentTool = static_cast<int>(UBDrawingController::drawingController()->stylusTool());
switch (currentTool) {

Loading…
Cancel
Save