Skip to content
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

Material Scrim #275

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

VolatilePulse
Copy link

Per the Material Design style, a scrim should be used any time the main application should lose focus for a child window. Since it should only apply to child windows, I've restricted what can create the scrim and what can't. The goal here is to eventually allow all children to force a scrim to be shown.

Additionally, this simplifies the necessity to create your own scrim in numerous places and allows library users to invoke the scrim themselves. For now, I've made it as simple as Form.ShowScrim() and Form.HideScrim(). I want to additional features to it in the future, but work has been keeping me from committing much time to this library as I'd like.

@VolatilePulse VolatilePulse marked this pull request as draft November 2, 2021 02:14
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.

None yet

1 participant