Way to snap to non grid point when using shear/rotate

Clip of the question attached. Gumball is not the answer since I need this for a polyline.