Keep the game undimmed while the session menu is open (#267)

Remove background dimming from the session menu
This commit is contained in:
Kurt Himebauch authored and GitHub committed 2026-10-05 09:59:35 -04:00
1 parent 31ea194f3d
commit c91daa9147
1 file changed
+1 -1
@@ -308,7 +308,7 @@ internal fun SessionDrawer(open: Boolean, requestedPage: SessionDrawerPage, cont
}
}
if (open || veil > 0.01f) Box(
modifier = Modifier.fillMaxSize().graphicsLayer { alpha = veil }.background(Color(0x8A000000))
modifier = Modifier.fillMaxSize()
.clickable(interactionSource = remember { MutableInteractionSource() }, indication = null) { host.open = null; a.onClose() },
)
androidx.compose.foundation.layout.BoxWithConstraints(modifier = Modifier.fillMaxSize(), contentAlignment = Alignment.CenterEnd) {