Skip to content

Commit a67630f

Browse files
committed
修复一些播放控制面板没有处理点击事件
1 parent 86caf3c commit a67630f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bv-player-mobile/src/main/kotlin/dev/aaa1115910/bv/player/mobile/component/controller/FullscreenControllers.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import androidx.compose.ui.tooling.preview.Preview
2929
import androidx.compose.ui.unit.dp
3030
import androidx.constraintlayout.compose.ConstraintLayout
3131
import androidx.constraintlayout.compose.Dimension
32+
import dev.aaa1115910.bv.player.mobile.component.noRippleClickable
3233
import dev.aaa1115910.bv.player.mobile.util.formatMinSec
3334

3435
@Composable
@@ -58,11 +59,13 @@ fun FullscreenControllers(
5859
modifier = Modifier
5960
.align(Alignment.TopCenter)
6061
.fillMaxWidth()
62+
.noRippleClickable { }
6163
)
6264
BottomControllers(
6365
modifier = Modifier
6466
.align(Alignment.BottomCenter)
65-
.fillMaxWidth(),
67+
.fillMaxWidth()
68+
.noRippleClickable { },
6669
isPlaying = isPlaying,
6770
currentTime = currentTime,
6871
totalTime = totalTime,

0 commit comments

Comments
 (0)