From 45944d1215fe35872499c953ad04c46ac13e6d55 Mon Sep 17 00:00:00 2001 From: Kentaro Fukuchi Date: Thu, 26 Aug 2021 03:59:45 +0900 Subject: [PATCH] Now modifies the value label's alignment correctly. --- src/controlP5/Controller.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controlP5/Controller.java b/src/controlP5/Controller.java index e0489e5..1496a8e 100755 --- a/src/controlP5/Controller.java +++ b/src/controlP5/Controller.java @@ -1982,7 +1982,7 @@ protected String adjustValue( final float theValue , final int theFloatPrecision public T align( int theCaptionX , int theCaptionY , int theValueX , int theValueY ) { getCaptionLabel( ).align( theCaptionX , theCaptionY ); - getCaptionLabel( ).align( theValueX , theValueY ); + getValueLabel( ).align( theValueX , theValueY ); return me; }