mirror of
https://github.com/bbara04/Purefin.git
synced 2026-03-31 17:10:08 +02:00
fix: remove left in background for gesture testing
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package hu.bbara.purefin.player.ui.components
|
||||
|
||||
import androidx.compose.foundation.background
|
||||
import androidx.compose.foundation.gestures.awaitEachGesture
|
||||
import androidx.compose.foundation.gestures.awaitFirstDown
|
||||
import androidx.compose.foundation.gestures.detectTapGestures
|
||||
@@ -11,7 +10,6 @@ import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.geometry.Offset
|
||||
import androidx.compose.ui.graphics.Color
|
||||
import androidx.compose.ui.input.pointer.pointerInput
|
||||
import androidx.compose.ui.input.pointer.positionChange
|
||||
import androidx.compose.ui.platform.LocalDensity
|
||||
@@ -38,8 +36,7 @@ fun PlayerGesturesLayer(
|
||||
Box(
|
||||
modifier = modifier
|
||||
.fillMaxWidth(0.90f)
|
||||
.fillMaxHeight(0.88f)
|
||||
.background(Color(1f, 1f, 1f, 0.5f))
|
||||
.fillMaxHeight(0.90f)
|
||||
.pointerInput(Unit) {
|
||||
detectTapGestures(
|
||||
onTap = { onTap() },
|
||||
|
||||
Reference in New Issue
Block a user