Stanzilla / WoWUIBugs

World of Warcraft UI Bug Tracker
166 stars 7 forks source link

CursorFreelookCentering/GamePadCursorCentering causes the mouse cursor to be visually offset from actual position #505

Open seblindfors opened 10 months ago

seblindfors commented 10 months ago

The offset is roughly equivalent to half the cursor size. Where you would normally point the "finger tip", when this bug occurs, your actual clicking point seems to be the middle of the texture instead of the topleft corner. I think the cause of this is that the cursor centering re-anchors the cursor texture so that it's completely in the center, to look better with other cursor/interaction textures, but when leaving the centered mode, it doesn't anchor it back to the topleft corner.

Note that this bug can sometimes (seemingly) be fixed by tabbing in and out of the game, or spamming between the centered and free cursor modes. Likewise, turning centering off seems to fix the issue as well. The offset is always in the topleft direction for the texture, or bottomright for the clicking point, depending on your life perspective. See images for examples.

To reproduce the issue, /console CursorFreelookCentering 1 and drag the camera around at least once. It may require multiple attempts or spammy input.

Problem occurs on:

image image image