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
When marking a specific color as transparent with SDL2.NET.Extensions.Windows.WindowExtensions.MarkColorAsTransparent(this Window, RGBColor), and rendering the color on-screen, the colored pixels are transparent to what's behind it -- However, hit-tests still act upon the Window
Expected Behaviour
For the window to be transparent both graphics-wise and to hit-tests
Using this code, you should notice that while the screen does become completely transparent, the Window still takes ownership of Hit Tests on it
Notes
Possibly a problem with color encoding in SDL2.NET.RGBColor.ToUInt32. The old way is commented out right above it, and... it kinda works in the opposite way: The color is NOT set as transparent, instead drawn normally on-screen; but the Window is transparent to hit tests
The text was updated successfully, but these errors were encountered:
Problem
When marking a specific color as transparent with
SDL2.NET.Extensions.Windows.WindowExtensions.MarkColorAsTransparent(this Window, RGBColor)
, and rendering the color on-screen, the colored pixels are transparent to what's behind it -- However, hit-tests still act upon the WindowExpected Behaviour
For the window to be transparent both graphics-wise and to hit-tests
Reproduction
Using this code, you should notice that while the screen does become completely transparent, the Window still takes ownership of Hit Tests on it
Notes
Possibly a problem with color encoding in
SDL2.NET.RGBColor.ToUInt32
. The old way is commented out right above it, and... it kinda works in the opposite way: The color is NOT set as transparent, instead drawn normally on-screen; but the Window is transparent to hit testsThe text was updated successfully, but these errors were encountered: