Commit 61a84e2c authored by Wolthera van Hövell's avatar Wolthera van Hövell 🐛

BUG 362659 disable autoscroll on move and transform tools.

You could argue that maybe we want to implement a better autoscroll
solution, but it might be better to just disable untill someone
steps up to do it.
parent 0dda82be
......@@ -47,6 +47,18 @@ public:
KisToolMove(KoCanvasBase * canvas);
~KisToolMove() override;
/**
* @brief wantsAutoScroll
* reimplemented from KoToolBase
* there's an issue where autoscrolling with this tool never makes the
* stroke end, so we return false here so that users don't get stuck with
* the tool. See bug 362659
* @return false
*/
bool wantsAutoScroll() const {
return false;
}
public Q_SLOTS:
void activate(ToolActivation toolActivation, const QSet<KoShape*> &shapes) override;
void deactivate() override;
......
......@@ -125,6 +125,18 @@ public:
KisToolTransform(KoCanvasBase * canvas);
~KisToolTransform() override;
/**
* @brief wantsAutoScroll
* reimplemented from KoToolBase
* there's an issue where autoscrolling with this tool never makes the
* stroke end, so we return false here so that users don't get stuck with
* the tool. See bug 362659
* @return false
*/
bool wantsAutoScroll() const {
return false;
}
QWidget* createOptionWidget() override;
void mousePressEvent(KoPointerEvent *e) override;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment