Initialize forgotten member variable

This ensures distance from previous point is calculated correctly
preferencesAboutTextFull
Craig Watson 7 years ago committed by Clément Fauconnier
parent 7b1f64eabf
commit 7954499950
  1. 1
      src/domain/UBGraphicsScene.cpp

@ -326,6 +326,7 @@ UBGraphicsScene::UBGraphicsScene(UBDocumentProxy* parent, bool enableUndoRedoSta
, mZoomFactor(1)
, mBackgroundObject(0)
, mPreviousWidth(0)
, mDistanceFromLastStrokePoint(0)
, mInputDeviceIsPressed(false)
, mArcPolygonItem(0)
, mRenderingContext(Screen)

Loading…
Cancel
Save