Explorar o código

StatsView: fix darken effect due to earlier change

Kirill Vainer %!s(int64=10) %!d(string=hai) anos
pai
achega
0eb8cbfc6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      jme3-core/src/main/java/com/jme3/app/StatsView.java

+ 1 - 1
jme3-core/src/main/java/com/jme3/app/StatsView.java

@@ -91,7 +91,7 @@ public class StatsView extends Node implements Control {
     }
 
     public float getHeight() {
-        return statText.getLineHeight() * statText.getLineCount(); // labels[0].getLineHeight() * statLabels.length;
+        return statText.getLineHeight() * statLabels.length;
     }
     
     public void update(float tpf) {