Skip to content
Snippets Groups Projects
Commit 57e8390b authored by Piotr Gawron's avatar Piotr Gawron
Browse files

fix on drawing compartments for semantic zoom

parent c280383a
No related branches found
No related tags found
1 merge request!44Resolve "semantic zoom"
......@@ -736,8 +736,7 @@ public abstract class AbstractImageGenerator {
protected void drawCompartment(final Compartment compartment, final boolean nested, List<ColorSchema> visibleLayouts, Params params)
throws DrawingException {
// If 'compartment' has not the big enough visibility level then should not
// be
// visible.
// be visible.
if (compartment.getVisibilityLevel() > level && params.nested) {
return;
......@@ -750,7 +749,7 @@ public abstract class AbstractImageGenerator {
*/
boolean fill = true;
if (compartment.getTransparencyLevel() <= level) {
if (compartment.getTransparencyLevel() <= level || !nested) {
fill = false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment