* Does also shift the center point horizontally, if required.
*
* @param coordinate Scene coordinates of the new center point
- * @param isUserDragAction True if caused by user dragging action. Does not shift the center
- * point if true.
*/
- void centerToSceneCoordinates(const SceneCoordinate &coordinate, bool isUserDragAction = false);
+ void centerToSceneCoordinates(const SceneCoordinate &coordinate);
/**
* @brief Set zoom level of the view
*
* @returns Center point
*/
- QPointF center();
+ QPointF center() const;
/**
* @brief Set new view scale
*
* Signal is emitted when view is scrolled.
* @param coordinate Scene coordinates of the new center point of the view
- * @param isUserDragAction True if caused by user dragging action
*/
- void viewScrolled(const SceneCoordinate &coordinate, bool isUserDragAction);
+ void viewScrolled(const SceneCoordinate &coordinate);
/**
* @brief Signal for informing that zooming animation is finished