Explorar el Código

StatsView: fix darken effect due to earlier change

Kirill Vainer hace 10 años
padre
commit
0eb8cbfc6c
Se han modificado 1 ficheros con 1 adiciones y 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) {