-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adds ViewportSettings.Transparent
#3886
base: v2_develop
Are you sure you want to change the base?
Conversation
Pretty excited about this. I had to do a ton of work in In doing all this I remembered SkiaSharp and have a |
Oh, nice! That looks awesome 🔍 Is it a draw effect only, or do clicks also drop through input transparent areas? Could be nice future addition to optionally have that behaviour. |
They don't yet. But will. The point of this is to enable Popovers. |
…i into v2-ViewportSettings_Transparent
@tznind this is with v2win... Really great sign! Nice work! |
Nice! 💪
Yeah probably one drawing scenario with all the tools side by side would be nice, but it doesn't have to happen right away if its difficult. |
You'll note the draw path has been simplified/cleaned up in addition to the transparent support being added. Also, Region is much more robust. |
Fixes
For
Popover
- A consistent way of enabling a Subview to popup outside of a View #3691We need the concept of a view that is transparent. In addition I've found that
View.Draw
has some errors in it regarding in how clipping is done.This PR fixes those issues and adds the new capability.
ViewportSettings.Transparent
enabling see-through/click-through viewsViewportSettingsEditor
to Scenarios and expandsAllViewsTester
to utilizeProposed Changes/Todos
ViewportSettings.Transparent
ViewportSettingsEditor
to Scenarios and expandAllViewsTester
to utilizeViewportSettings
scenario to useViewportSettingsEditor
and illustrate transparencyViewportSettings.Transparent
unit testsPull Request checklist:
CTRL-K-D
to automatically reformat your files before committing.dotnet test
before commit///
style comments)