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

Apply custom Dialog's scrim blend mode only when window is transparent #812

Merged
merged 6 commits into from Sep 13, 2023

Conversation

MatkovIvan
Copy link
Member

@MatkovIvan MatkovIvan commented Sep 13, 2023

Proposed Changes

  • Add WindowInfo.isWindowTransparent API
  • Apply custom Dialog's scrim blend mode only when window is transparent
Before After
Screenshot 2023-09-13 at 12 14 34 Screenshot 2023-09-13 at 12 14 49

Testing

Test: Try to use Dialog without drawing background in main window

@MatkovIvan MatkovIvan merged commit 17b2dc5 into jb-main Sep 13, 2023
3 checks passed
@MatkovIvan MatkovIvan deleted the ivan.matkov/fix-scrim-blendmode branch September 13, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants