aboutsummaryrefslogtreecommitdiffstats
path: root/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java')
-rw-r--r--src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java b/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
index 89ec7ffea..0ff7353a0 100644
--- a/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
+++ b/src/graphui/classes/com/jogamp/graph/ui/shapes/TexSeqButton.java
@@ -79,7 +79,7 @@ public abstract class TexSeqButton extends BaseButton {
* @return this instance for chaining
*/
public TexSeqButton setARatioLetterbox(final boolean v, final Vec4f backColor) {
- if( useAspectRatioLetterbox() != v ) {
+ if( useARatioLetterbox() != v ) {
texSeq.setARatioLetterbox(v, backColor);
markShapeDirty();
}
@@ -88,7 +88,7 @@ public abstract class TexSeqButton extends BaseButton {
/**
* See {@link TextureSequence#useARatioLetterbox()}.
*/
- public boolean useAspectRatioLetterbox() { return texSeq.useARatioLetterbox(); }
+ public boolean useARatioLetterbox() { return texSeq.useARatioLetterbox(); }
/** See {@link TextureSequence#getARatioLetterboxBackColor()}. */
public Vec4f getARatioLetterboxBackColor() { return texSeq.getARatioLetterboxBackColor(); }