- Thread starter
- #281
Checked some of the remaining mouse glitches in the meantime (the one in windowed mode when the mouse needs to moves way more the right). They are also present in 1.3.0 RC but a little more subtle, but the same problems are there.
It is a problem of the hit tests. They work on the position where an element is rendered based on the D3D backbuffer position. Or in other words the hit test always takes the position of the display's resolution like fullscreen. Switch with Alt-Tab back and forth and you see it right away.
So need to add some scaling of the mouse cursor position prior to the hit tests. Tried it but failed. Probably applied some wrong logic here and came to the conclusion that the stuff doesn't scale linear. WTF? That's not possible. I see that it it linear!
Therefore time for a break and start fresh again later.
It is a problem of the hit tests. They work on the position where an element is rendered based on the D3D backbuffer position. Or in other words the hit test always takes the position of the display's resolution like fullscreen. Switch with Alt-Tab back and forth and you see it right away.
So need to add some scaling of the mouse cursor position prior to the hit tests. Tried it but failed. Probably applied some wrong logic here and came to the conclusion that the stuff doesn't scale linear. WTF? That's not possible. I see that it it linear!
Therefore time for a break and start fresh again later.
Last edited: