mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 20:51:07 +00:00
d5bf3c2cd1
don't render a clip to a texture if the new clip does not intersect with any of the corners of the currently rounded clip. Fixes #2770
37 lines
412 B
Plaintext
37 lines
412 B
Plaintext
rounded-clip {
|
|
clip: 0 0 200 100 / 0 0 40 0;
|
|
child: clip {
|
|
clip: 40 0 200 300;
|
|
child: color {
|
|
bounds: 0 0 300 500;
|
|
color: teal;
|
|
}
|
|
}
|
|
}
|
|
|
|
color {
|
|
bounds: 160 95 20 5;
|
|
color: black;
|
|
}
|
|
|
|
color {
|
|
bounds: 178 90 9 5;
|
|
color: black;
|
|
}
|
|
|
|
color {
|
|
bounds: 183 85 9 5;
|
|
color: black;
|
|
}
|
|
|
|
color {
|
|
bounds: 188 76 9 9;
|
|
color: black;
|
|
}
|
|
|
|
|
|
color {
|
|
bounds: 195 50 5 30;
|
|
color: black;
|
|
}
|