Graph separator takes in consideration screen density
This commit is contained in:
parent
e28033f951
commit
1221085374
@ -579,10 +579,12 @@ fun GraphHeader(
|
||||
maxLines = 1,
|
||||
)
|
||||
|
||||
val density = LocalDensity.current.density
|
||||
|
||||
SimpleDividerLog(
|
||||
modifier = Modifier.draggable(
|
||||
rememberDraggableState {
|
||||
weightMod.value += it
|
||||
weightMod.value += it * density // Multiply by density for screens with scaling > 1
|
||||
}, Orientation.Horizontal
|
||||
),
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user