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

don't have translucent background on image post thumbnail click #625

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
make image preview with 0.8 alpha black atop the normal background, t…
…his makes it easier to see the image without the background interfering so much
Vijay Ramesh committed Jun 15, 2023
commit df357cd19bdf9c8dcc8cd9f47798fca5330c0d19
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ fun ImageViewerDialog(url: String, onBackRequest: () -> Unit) {
}

val backColor = MaterialTheme.colorScheme.scrim
val backColorTranslucent = MaterialTheme.colorScheme.scrim.copy(alpha = 0.4f)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually do really like the background translucence, but I agree 40% in way too little... it should be like 10-20% . Could you try that out and see how it looks?

val backColorTranslucent = MaterialTheme.colorScheme.scrim.copy(alpha = 0.8f)

var showTopBar by remember { mutableStateOf(true) }