Snap to grid when changing to a stepped or discrete segment