Skip to content

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.

1 participant