aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/shapes
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-12-18 02:34:17 +0100
committerSven Gothel <[email protected]>2023-12-18 02:34:17 +0100
commit8b30ea9859fb1a1e9d1a373a0e355748b9a7c8ef (patch)
tree58b42d390c25c384cf9ad57565ede90723fb5f5d /src/graphui/classes/com/jogamp/graph/ui/shapes
parentb7f8a70674e36a8c324f91d0f73f89667c3c8300 (diff)
GraphUI Shape: Rename [set|is]{Enabled -> Visible}(..) for clarity
Note that invisible shapes are still considered for picking/activation. To completely mute the shape, issue {@link #setInteractive(boolean)} as well.
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/shapes')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java
index f55bd927f..493135a14 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java
@@ -69,7 +69,7 @@ public class GlyphShape extends GraphShape {
this.glyph = glyph;
this.origPos = new Vec3f(x, y, 0f);
if( glyph.isNonContour() ) {
- setEnabled(false);
+ setVisible(false);
}
final int[/*2*/] vertIndexCount = Region.countOutlineShape(glyph.getShape(), new int[2]);
regionVertCount = vertIndexCount[0];