aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph
diff options
context:
space:
mode:
authorSven Göthel <[email protected]>2024-01-28 06:35:24 +0100
committerSven Göthel <[email protected]>2024-01-28 06:35:24 +0100
commitd46c8e7f5288fb07e632b063462a6c08bba91fb2 (patch)
tree6053d827e89502bf6a645fdc185f1f170b4d7540 /src/graphui/classes/com/jogamp/graph
parent298cfd3a0c36bcb7580f8fd3d02e470f36b50f10 (diff)
GraphUI Group: Don't draw border is set invisible
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/Group.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Group.java b/src/graphui/classes/com/jogamp/graph/ui/Group.java
index 391c0170b..4e10d071f 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/Group.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/Group.java
@@ -443,7 +443,7 @@ public class Group extends Shape implements Container {
}
}
renderedShapes = iShapes;
- if( null != border ) {
+ if( null != border && border.isVisible() ) {
border.draw(gl, renderer);
}
}
@@ -471,7 +471,7 @@ public class Group extends Shape implements Container {
pmv.popMv();
}
}
- if( null != border ) {
+ if( null != border && border.isVisible() ) {
border.drawToSelect(gl, renderer);
}
}