mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 20:36:04 +00:00
Cursor: half the size
This commit is contained in:
1 parent
e11af116e9
commit
3ea82f6447
1 file changed
+1
-1
@@ -18,7 +18,7 @@ import androidx.compose.ui.graphics.drawscope.Stroke
|
||||
fun CursorOverlay(position: Offset, visible: Boolean, scale: Float) {
|
||||
if (!visible) return
|
||||
Canvas(modifier = Modifier.fillMaxSize()) {
|
||||
val s = 22f * scale
|
||||
val s = 11f * scale
|
||||
val path = Path().apply {
|
||||
moveTo(position.x, position.y)
|
||||
lineTo(position.x, position.y + s * 1.45f)
|
||||
|
||||
Reference in new issue
Block a user