Restore sticker zIndex for touchability, switch FrameOverlay to ImageBackground, and remove overflow hidden

This commit is contained in:
2026-06-01 10:59:30 +02:00
parent 1c223e3cf6
commit 0e7ab0dc0e
2 changed files with 3 additions and 5 deletions
+3 -4
View File
@@ -1,5 +1,5 @@
import React from 'react'; import React from 'react';
import { StyleSheet, Image, View } from 'react-native'; import { StyleSheet, ImageBackground, View } from 'react-native';
interface FrameOverlayProps { interface FrameOverlayProps {
frameAsset: any; // require() asset frameAsset: any; // require() asset
@@ -16,11 +16,10 @@ export default function FrameOverlay({ frameAsset, isCapturing = false }: FrameO
return ( return (
<View style={styles.container} pointerEvents={isCapturing ? "auto" : "none"} collapsable={false}> <View style={styles.container} pointerEvents={isCapturing ? "auto" : "none"} collapsable={false}>
<Image <ImageBackground
source={frameAsset} source={frameAsset}
style={styles.frameImage} style={styles.frameImage}
resizeMode="cover" resizeMode="stretch"
fadeDuration={0}
/> />
</View> </View>
); );
-1
View File
@@ -675,7 +675,6 @@ const styles = StyleSheet.create({
height: 320, height: 320,
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
overflow: 'hidden',
backgroundColor: THEME.colors.background, backgroundColor: THEME.colors.background,
}, },
controlPanel: { controlPanel: {