You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Currently, ImageDataWithMaskCursorHandleProvider uses OS.CreateCursor to draw the cursor while ImageDataCursorHandleProvider uses OS.CreateIconIndirect.
As you can see in the gif below, I have a primary monitor at 150% and secondary monitor at 200% with a base cursor image size of 16. Expected size at 200% is 32px but using Cursor(Device, ImageData, ImageData, int, int) cursor is giving us the size of ~40px. Also the color set with a passed source is RGB(0, 255, 0) which is green but it's not taken into consideration here and drawn black.
Expected Behavior
The cursor should scale as per expected value shown and should adhere to color set for source image data.
Necessary configuration:
Use Snippet386 to test the changes.