diff options
author | Sven Gothel <[email protected]> | 2023-12-18 02:34:17 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-12-18 02:34:17 +0100 |
commit | 8b30ea9859fb1a1e9d1a373a0e355748b9a7c8ef (patch) | |
tree | 58b42d390c25c384cf9ad57565ede90723fb5f5d /src/graphui/classes/com/jogamp/graph/ui/shapes | |
parent | b7f8a70674e36a8c324f91d0f73f89667c3c8300 (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.java | 2 |
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]; |