Fixed what I'm pretty sure is a typo. I didn't test it

but I can see no reason to clear the refresh flag on these
methods but setting it seems entirely logical.
experimental
Paul Speed 10 years ago
parent af58aeb779
commit 308e88fd21
  1. 6
      jme3-core/src/main/java/com/jme3/font/BitmapText.java

@ -352,7 +352,7 @@ public class BitmapText extends Node {
public void setTabPosition(float... tabs) {
block.setTabPosition(tabs);
letters.invalidate();
needRefresh = false;
needRefresh = true;
}
/**
@ -362,7 +362,7 @@ public class BitmapText extends Node {
public void setTabWidth(float width) {
block.setTabWidth(width);
letters.invalidate();
needRefresh = false;
needRefresh = true;
}
/**
@ -373,7 +373,7 @@ public class BitmapText extends Node {
public void setEllipsisChar(char c) {
block.setEllipsisChar(c);
letters.invalidate();
needRefresh = false;
needRefresh = true;
}
/**

Loading…
Cancel
Save