From dd628bddda84ce9eab5c3fb4137cf1e717a7835b Mon Sep 17 00:00:00 2001 From: m-derakhshan <43886409+m-derakhshan@users.noreply.github.com> Date: Mon, 19 Aug 2024 19:35:01 +0200 Subject: [PATCH] remove the safe margin --- .idea/deploymentTargetSelector.xml | 18 ++++++++++++++++++ .../java/com/theoplayer/android/ui/SeekBar.kt | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .idea/deploymentTargetSelector.xml diff --git a/.idea/deploymentTargetSelector.xml b/.idea/deploymentTargetSelector.xml new file mode 100644 index 0000000..0250db7 --- /dev/null +++ b/.idea/deploymentTargetSelector.xml @@ -0,0 +1,18 @@ + + + + + + + + + \ No newline at end of file diff --git a/ui/src/main/java/com/theoplayer/android/ui/SeekBar.kt b/ui/src/main/java/com/theoplayer/android/ui/SeekBar.kt index 1454836..8f86af0 100644 --- a/ui/src/main/java/com/theoplayer/android/ui/SeekBar.kt +++ b/ui/src/main/java/com/theoplayer/android/ui/SeekBar.kt @@ -48,7 +48,7 @@ fun SeekBar( modifier = modifier.systemGestureExclusion { Rect( topLeft = Offset(0f, 0f), - bottomRight = Offset(it.size.width.toFloat(), it.size.height.toFloat() + 20) + bottomRight = Offset(it.size.width.toFloat(), it.size.height.toFloat()) ) }, colors = colors,