diff options
author | Clay John <claynjohn@gmail.com> | 2022-10-27 09:59:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-27 09:59:27 -0700 |
commit | e1caa8797baf55d8f3fbb0b64313c4255228b809 (patch) | |
tree | 50766ce430beb33a2cd3e798b16aa82b752e54c9 /servers/rendering_server.h | |
parent | 2f2c138b4499ef0a070c13e5cc242946a8db155f (diff) | |
parent | b6f44859d7ab5b128d71ce0d64b46b171b9357aa (diff) |
Merge pull request #67043 from clayjohn/clip_children
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
Diffstat (limited to 'servers/rendering_server.h')
-rw-r--r-- | servers/rendering_server.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/servers/rendering_server.h b/servers/rendering_server.h index 6885d80301..3c6f46a985 100644 --- a/servers/rendering_server.h +++ b/servers/rendering_server.h @@ -1367,7 +1367,8 @@ public: enum CanvasGroupMode { CANVAS_GROUP_MODE_DISABLED, - CANVAS_GROUP_MODE_OPAQUE, + CANVAS_GROUP_MODE_CLIP_ONLY, + CANVAS_GROUP_MODE_CLIP_AND_DRAW, CANVAS_GROUP_MODE_TRANSPARENT, }; |