Sketcher: Fix snap to axis not working (#26558)

When snapping to an axis, snapToObject returns false because we should also be able to snap to grid at the same time. Recent changes made the end return to be the initial unmodified position. Breaking snap to axis
This commit is contained in:
PaddleStroke
2026-01-02 18:10:50 +01:00
committed by GitHub
parent 1dc611fcc1
commit 9f2b0f910b

View File

@@ -221,7 +221,7 @@ Base::Vector2d SnapManager::snap(Base::Vector2d inputPos, SnapType mask)
return snapPos;
}
return inputPos;
return snapPos;
}
bool SnapManager::snapAtAngle(Base::Vector2d inputPos, Base::Vector2d& snapPos)