Due to rounding errors in `wm_gesture_straightline_do_angle_snap`, it could give out a snapped result that's meant to be 45 degrees but does not have equal X/Y distances after converted to integer. Since 45 degrees can be used to make a equal length structure, it's best to make sure that resulting X/Y values are the same if the angle is multiple of 45 degrees. This fix would be effective for all tools that uses this "straight line gizmo". Pull Request: https://projects.blender.org/blender/blender/pulls/128683