From 8b30ea9859fb1a1e9d1a373a0e355748b9a7c8ef Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Mon, 18 Dec 2023 02:34:17 +0100 Subject: 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. --- src/graphui/classes/com/jogamp/graph/ui/shapes/GlyphShape.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/graphui/classes/com/jogamp/graph/ui/shapes') 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]; -- cgit v1.2.3