aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/Shape.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-09-30 01:42:50 +0200
committerSven Gothel <[email protected]>2023-09-30 01:42:50 +0200
commitb38890a32ff35e364d5c433a0afa6c9fdda2c90a (patch)
tree0775f8a3f98e0ba88512cb9132b992d76e69154d /src/graphui/classes/com/jogamp/graph/ui/Shape.java
parent4b8574c63e100f0ef8bb2ad292d71f612e6cfceb (diff)
GraphUI: Shape: Add missing 'markShapeDirty()' on setBorderColor()
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/Shape.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/Shape.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/Shape.java b/src/graphui/classes/com/jogamp/graph/ui/Shape.java
index 001f4295f..254f0ae5c 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/Shape.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/Shape.java
@@ -1104,6 +1104,7 @@ public abstract class Shape {
*/
public final Shape setBorderColor(final float r, final float g, final float b, final float a) {
this.borderColor.set(r, g, b, a);
+ markShapeDirty();
return this;
}
@@ -1116,6 +1117,7 @@ public abstract class Shape {
*/
public final Shape setBorderColor(final Vec4f c) {
this.borderColor.set(c);
+ markShapeDirty();
return this;
}