Skip to content

Commit 9daae33

Browse files
authored
Force overflow to hidden (#59)
1 parent bf7775b commit 9daae33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/@babylonjs/react-native/EngineView.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export const EngineView: FunctionComponent<EngineViewProps> = (props: EngineView
9292

9393
if (!failedInitialization) {
9494
return (
95-
<View style={props.style}>
95+
<View style={[props.style, {overflow: "hidden"}]}>
9696
<NativeEngineView style={{flex: 1}} />
9797
{ fps && <Text style={{color: 'yellow', position: 'absolute', margin: 10, right: 0, top: 0}}>FPS: {Math.round(fps)}</Text> }
9898
</View>

0 commit comments

Comments
 (0)