File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed
Sources/OpenSwiftUICore/Render Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,19 @@ extension RendererLeafView {
2929 // TODO
3030 var outputs = _ViewOutputs ( )
3131 // FIXME
32- outputs. preferences. displayList = Attribute (
33- LeafDisplayList (
34- identity: . init( ) ,
35- view: view. value,
36- position: inputs. animatedPosition ( ) ,
37- size: inputs. animatedCGSize ( ) ,
38- containerPosition: inputs. containerPosition,
39- options: . defaultValue,
40- contentSeed: . init( )
32+ if inputs. preferences. requiresDisplayList {
33+ outputs. preferences. displayList = Attribute (
34+ LeafDisplayList (
35+ identity: . init( ) ,
36+ view: view. value,
37+ position: inputs. animatedPosition ( ) ,
38+ size: inputs. animatedCGSize ( ) ,
39+ containerPosition: inputs. containerPosition,
40+ options: . defaultValue,
41+ contentSeed: . init( )
42+ )
4143 )
42- )
44+ }
4345 return outputs
4446 }
4547}
You can’t perform that action at this time.
0 commit comments