* Move the mouse back to where it started after we finish drag scrolling. * @param action Pointer to an action. */
| 2140 | * @param action Pointer to an action. |
| 2141 | */ |
| 2142 | void Globe::stopScrolling(Action *action) |
| 2143 | { |
| 2144 | SDL_WarpMouse(_xBeforeMouseScrolling, _yBeforeMouseScrolling); |
| 2145 | action->setMouseAction(_xBeforeMouseScrolling, _yBeforeMouseScrolling, getX(), getY()); |
| 2146 | } |
| 2147 | } |
nothing calls this directly
no test coverage detected