Fixed line uncommited changes -> first commit not being drawn in the log (now properly :P)
This commit is contained in:
parent
dd56355497
commit
92b225503c
@ -952,7 +952,7 @@ fun CommitsGraphLine(
|
|||||||
modifier = Modifier.fillMaxSize()
|
modifier = Modifier.fillMaxSize()
|
||||||
) {
|
) {
|
||||||
clipRect {
|
clipRect {
|
||||||
if (plotCommit.childCount > 0) {
|
if (plotCommit.childCount > 0 || itemPosition == 0) {
|
||||||
drawLine(
|
drawLine(
|
||||||
color = colors[itemPosition % colors.size],
|
color = colors[itemPosition % colors.size],
|
||||||
start = Offset(laneWidthWithDensity * (itemPosition + 1), this.center.y),
|
start = Offset(laneWidthWithDensity * (itemPosition + 1), this.center.y),
|
||||||
|
Loading…
Reference in New Issue
Block a user