diff options
| author | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-01-03 00:08:54 +0000 |
|---|---|---|
| committer | Jabier Arraiza <jabier.arraiza@marker.es> | 2018-01-03 00:08:54 +0000 |
| commit | ba7269d626b005ad6aa56fcef5184c4cf9558b1a (patch) | |
| tree | 75fd4c768078f0114340d2d53cc954aff1e88bb1 /src/knot.cpp | |
| parent | Merge branch 'master' into fixBendAndPatternAlongPathCrashesWithKnots (diff) | |
| download | inkscape-ba7269d626b005ad6aa56fcef5184c4cf9558b1a.tar.gz inkscape-ba7269d626b005ad6aa56fcef5184c4cf9558b1a.zip | |
Fix a regrssion in merge branch Allow erase knots in powerstroke
Diffstat (limited to 'src/knot.cpp')
| -rw-r--r-- | src/knot.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/knot.cpp b/src/knot.cpp index b2f6dbe62..8296891f4 100644 --- a/src/knot.cpp +++ b/src/knot.cpp @@ -471,9 +471,7 @@ void SPKnot::updateCtrl() { void SPKnot::_setCtrlState() { int state = SP_KNOT_STATE_NORMAL; - if (this->flags | SP_KNOT_VISIBLE) { - return; - } else if (this->flags & SP_KNOT_DRAGGING) { + if (this->flags & SP_KNOT_DRAGGING) { state = SP_KNOT_STATE_DRAGGING; } else if (this->flags & SP_KNOT_MOUSEOVER) { state = SP_KNOT_STATE_MOUSEOVER; |
