Code

Implementing feature request #1673807: snapping of gradient handles