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

preventing bad behavior when playing with eraser

preferencesAboutTextFull
Clément Fauconnier 7 years ago
parent 68c7da58fe
commit 8fec7b23c3
  1. 2
      src/domain/UBGraphicsScene.cpp

@ -2025,7 +2025,7 @@ QRectF UBGraphicsScene::annotationsBoundingRect() const
bool UBGraphicsScene::isEmpty() const
{
return mItemCount == 0;
return mItemCount <= 0; // mItemCount can currently be negative when playing with eraser
}
QGraphicsItem* UBGraphicsScene::setAsBackgroundObject(QGraphicsItem* item, bool pAdaptTransformation, bool pExpand)

Loading…
Cancel
Save