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

fixed an issue where the rotate cursor would not update correctly after deselection/selection

preferencesAboutTextFull
Clément Fauconnier 3 years ago
parent 1a8c84c79e
commit d206b31a0b
  1. 4
      src/domain/UBGraphicsDelegateFrame.cpp

@ -103,11 +103,10 @@ UBGraphicsDelegateFrame::UBGraphicsDelegateFrame(UBGraphicsItemDelegate* pDelega
mRotateButton->setCursor(UBResources::resources()->rotateCursor);
mRotateButton->setVisible(mDelegate->testUBFlags(GF_REVOLVABLE));
updateResizeCursors();
setAntiScale(1.0);
positionHandles();
updateResizeCursors();
this->setAcceptHoverEvents(true);
}
@ -839,6 +838,7 @@ void UBGraphicsDelegateFrame::positionHandles()
resetTransform();
setTransform(QTransform::fromTranslate(center.x(), center.y()), true);
setTransform(QTransform().rotate(-angle), true);
mAngle = angle;
setTransform(QTransform::fromTranslate(-center.x(), -center.y()), true);
//TODO: combine these transforms into one

Loading…
Cancel
Save