File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
packages/fiber/src/native Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -223,17 +223,10 @@ const CanvasImpl = /*#__PURE__*/ React.forwardRef<View, Props>(
223
223
} , [ canvas ] )
224
224
225
225
return (
226
- < View ref = { viewRef } onLayout = { onLayout } style = { { flex : 1 , ...style } } >
227
- < View { ...props } style = { { flex : 1 } } >
228
- { width > 0 && (
229
- < GLView
230
- { ...bind }
231
- msaaSamples = { antialias ? 4 : 0 }
232
- onContextCreate = { onContextCreate }
233
- style = { StyleSheet . absoluteFill }
234
- />
235
- ) }
236
- </ View >
226
+ < View { ...props } ref = { viewRef } onLayout = { onLayout } style = { { flex : 1 , ...style } } { ...bind } >
227
+ { width > 0 && (
228
+ < GLView msaaSamples = { antialias ? 4 : 0 } onContextCreate = { onContextCreate } style = { StyleSheet . absoluteFill } />
229
+ ) }
237
230
</ View >
238
231
)
239
232
} ,
You can’t perform that action at this time.
0 commit comments