Skip to content

fixed mouse hover bug on bitmaps with an odd dimension#396

Open
MaxStriebel wants to merge 2 commits intoEpicGamesExt:masterfrom
MaxStriebel:master
Open

fixed mouse hover bug on bitmaps with an odd dimension#396
MaxStriebel wants to merge 2 commits intoEpicGamesExt:masterfrom
MaxStriebel:master

Conversation

@MaxStriebel
Copy link
Copy Markdown

When creating a bitmap view where one of the dimensions is odd the hovering behavior of the mouse is off. It assumes the number of pixels in this dimension is one less than the actual number of pixels.

This bug is due to an integer division instead of a float division when constructing the image coordinates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants