feat: fade and slide in controls (#964)

This commit is contained in:
Fredrik Burmester
2025-08-20 21:59:09 +02:00
committed by GitHub
parent f2219a1daa
commit 55ce7d8cec
5 changed files with 133 additions and 84 deletions

View File

@@ -106,7 +106,6 @@ export const HeaderControls: FC<HeaderControlsProps> = ({
width: settings?.safeAreaInControlsEnabled
? screenWidth - insets.left - insets.right
: screenWidth,
opacity: showControls ? 1 : 0,
},
]}
pointerEvents={showControls ? "auto" : "none"}
@@ -138,7 +137,6 @@ export const HeaderControls: FC<HeaderControlsProps> = ({
name='picture-in-picture'
size={ICON_SIZES.HEADER}
color='white'
style={{ opacity: showControls ? 1 : 0 }}
/>
</TouchableOpacity>
)}