Fix hidden layers affect z-index (fix #5681)#5690
Conversation
| // Copyright (C) 2019-present Igara Studio S.A. | ||
| // Copyright (C) 2001-2018 David Capello |
| if (child->isVisible()) | ||
| subPlan.addLayer(child, frame); | ||
| } | ||
| for (const Layer* child : static_cast<const LayerGroup*>(layer)->layers()) |
There was a problem hiding this comment.
You should be able to use
| for (const Layer* child : static_cast<const LayerGroup*>(layer)->layers()) | |
| for (const Layer* child : layer->layers()) |
As now (in beta branch) doc::Layer contains the layers().
|
It's a shame that the |
|
Hi there! One or more of the commit messages in this PR do not match our code submission policy, please check the |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
clang-tidy review says "All clean, LGTM! 👍" |
|
Test pending |
|
clang-tidy review says "All clean, LGTM! 👍" |
fix #5681