Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: correction...

...

This function used to return the position of the mouse cursor when it was clicked (for a few frames after the button was pressed) instead of the mouse-cursors current function position (see:

Jira
serverEgosoft JIRA
serverId9d4eeb41-d1c2-3d89-8ea6-0964f358c464
keyXRUIMOD-57
)

Since this is quite inconsistent and doesn't fit with the function name, this was changed. The function consistently returns the current mouse-position now regardless of whether the LMB was pressed or not, now.

...