From b3f125e103e67ee5eadf960c43be822d637c956f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCrten?= <sebastian@mobanisto.de> Date: Tue, 21 Sep 2021 07:53:57 +0200 Subject: [PATCH] Clarify comment concerning dimming message view --- .../briar/desktop/paul/views/PrivateMessageView.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt b/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt index 147b3f5eef..75b05dd5e3 100644 --- a/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt +++ b/src/main/kotlin/org/briarproject/briar/desktop/paul/views/PrivateMessageView.kt @@ -782,8 +782,9 @@ fun DrawMessageRow( modifier = Modifier.offset() ) if (infoDrawer) { - // TODO Find non-hacky way of setting scrim - // This dims the entire app while the drawer is open by making a very very large slightly see-through black box + // TODO Find non-hacky way of setting scrim on entire app + // Currently this dims the message view while the drawer is open by making a very very large slightly + // see-through black box Box(Modifier.requiredSize(maxWidth, maxHeight).background(Color(0, 0, 0, 100))) Column( modifier = Modifier.fillMaxHeight().width(275.dp).offset(maxWidth + animatedInfoDrawerOffsetX) -- GitLab