| 104 | } |
| 105 | |
| 106 | void VisualDraggableFeature::UpdateDrag(Vector2D d, bool single_axis) { |
| 107 | if (single_axis) |
| 108 | d = d.SingleAxis(); |
| 109 | |
| 110 | pos = start + d; |
| 111 | } |
| 112 | |
| 113 | bool VisualDraggableFeature::HasMoved() const { |
| 114 | return pos != start; |
no test coverage detected