Image Mouseover Boundaries
Posted: June 22nd, 2017, 1:48 pm
I have created a launcher for some programs and games I have, with each button consisting of a 72x72 pixel image with transparency. These images are arranged at a 45 degree angle, so they have overlapping (invisible) corners. When I mouse over any of these images, I have the opacity increase. This normally works fine, but if one image has a transparent corner overlapping the non-transparent part of another image and I move my mouse to the overlapping area, both images have their mouseover bangs executed.
From what I can tell, Rainmeter for the mouseover bang checks whether any non-transparent pixels are being hovered over and if so, whether those pixels are within the bounds of the image meter. It does not check to what image those pixels belong, but only what boundaries they are within. This causes both images to have the bang executed, when only one of them should be executed.
Here is a GIF of the bug
And the image boundaries just for clarity
From what I can tell, Rainmeter for the mouseover bang checks whether any non-transparent pixels are being hovered over and if so, whether those pixels are within the bounds of the image meter. It does not check to what image those pixels belong, but only what boundaries they are within. This causes both images to have the bang executed, when only one of them should be executed.
Here is a GIF of the bug
And the image boundaries just for clarity