fix brightness positioning

This commit is contained in:
Jorrin
2024-02-14 21:24:50 +01:00
parent 8556ad3875
commit 94c3ad5862

View File

@@ -235,7 +235,7 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ data }) => {
</View> </View>
)} )}
{showBrightnessOverlay && ( {showBrightnessOverlay && (
<View className="bottom-12 self-center rounded-xl bg-black p-3 opacity-50"> <View className="absolute bottom-12 self-center rounded-xl bg-black p-3 opacity-50">
<Text className="font-bold">Brightness: {debouncedBrightness}</Text> <Text className="font-bold">Brightness: {debouncedBrightness}</Text>
</View> </View>
)} )}