From 102326faa387054153676e8fe5976284039f0459 Mon Sep 17 00:00:00 2001 From: Jules Kerssemakers Date: Thu, 29 May 2025 22:08:37 +0200 Subject: [PATCH] Visually distinguish log divider from commit-graph line. The divider between the logs' commit graph and messages sections used the the primary accent color, which is bright and powerful, just like the commit-graph lines right next to it. To create visual difference between the commit graph and the draggable divider, make the divider less noticeable by coloring it in the background color. Also make it wider, so it becomes more like the padding elsewhere. This makes it clearer that it's a UI thing, not a graph thing. --- src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt b/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt index d1660823..5c716deb 100644 --- a/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt +++ b/src/main/kotlin/com/jetpackduba/gitnuro/ui/log/Log.kt @@ -1041,8 +1041,8 @@ fun DividerLog(modifier: Modifier, graphWidth: Dp) { Box( modifier = Modifier .fillMaxHeight() - .width(1.dp) - .background(color = MaterialTheme.colors.primaryVariant) + .width(3.dp) + .background(color = MaterialTheme.colors.surface) .align(Alignment.Center) ) }