Skip to content

Commit

Permalink
Shift key can be used to snap angle on Gradient tool
Browse files Browse the repository at this point in the history
  • Loading branch information
dacap committed May 26, 2017
1 parent e316a49 commit 158ace5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/tools/intertwiners.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ class IntertwineNone : public Intertwine {

class IntertwineFirstPoint : public Intertwine {
public:
// Snap angle because the angle between the first point and the last
// point might be useful for the ink (e.g. the gradient ink)
bool snapByAngle() override { return true; }

void joinStroke(ToolLoop* loop, const Stroke& stroke) override {
if (!stroke.empty())
Expand Down

0 comments on commit 158ace5

Please sign in to comment.