blob: e5c28a8695713906bdbb40d19adb616547c18332 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
Even though we can opt-out of fixed-position compositing for unscrollable fixed-position containers, we still need to composite fixed-position layers that need compositing for other reasons such as overlap.
(GraphicsLayer
(bounds 800.00 4024.00)
(children 1
(GraphicsLayer
(bounds 800.00 4024.00)
(contentsOpaque 1)
(children 2
(GraphicsLayer
(position 10.00 100.00)
(bounds 100.00 100.00)
(contentsOpaque 1)
(drawsContent 1)
(backgroundColor #FF0000)
)
(GraphicsLayer
(position 10.00 100.00)
(bounds 100.00 100.00)
(contentsOpaque 1)
(drawsContent 1)
(backgroundColor #00FF00)
)
)
)
)
)
|