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 { StyleSheet, Image, View } from 'react-native';
import { StyleSheet, ImageBackground, View } from 'react-native';
interface FrameOverlayProps {
frameAsset: any; // require() asset
@@ -16,11 +16,10 @@ export default function FrameOverlay({ frameAsset, isCapturing = false }: FrameO
return (
<View style={styles.container} pointerEvents={isCapturing ? "auto" : "none"} collapsable={false}>
<Image
<ImageBackground
source={frameAsset}
style={styles.frameImage}
resizeMode="cover"
fadeDuration={0}
resizeMode="stretch"
/>
</View>
);
-1
View File
@@ -675,7 +675,6 @@ const styles = StyleSheet.create({
height: 320,
justifyContent: 'center',
alignItems: 'center',
overflow: 'hidden',
backgroundColor: THEME.colors.background,
},
controlPanel: {