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.
This commit is contained in:
parent
af58aeb779
commit
308e88fd21
@ -352,7 +352,7 @@ public class BitmapText extends Node {
|
|||||||
public void setTabPosition(float... tabs) {
|
public void setTabPosition(float... tabs) {
|
||||||
block.setTabPosition(tabs);
|
block.setTabPosition(tabs);
|
||||||
letters.invalidate();
|
letters.invalidate();
|
||||||
needRefresh = false;
|
needRefresh = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -362,7 +362,7 @@ public class BitmapText extends Node {
|
|||||||
public void setTabWidth(float width) {
|
public void setTabWidth(float width) {
|
||||||
block.setTabWidth(width);
|
block.setTabWidth(width);
|
||||||
letters.invalidate();
|
letters.invalidate();
|
||||||
needRefresh = false;
|
needRefresh = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -373,7 +373,7 @@ public class BitmapText extends Node {
|
|||||||
public void setEllipsisChar(char c) {
|
public void setEllipsisChar(char c) {
|
||||||
block.setEllipsisChar(c);
|
block.setEllipsisChar(c);
|
||||||
letters.invalidate();
|
letters.invalidate();
|
||||||
needRefresh = false;
|
needRefresh = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user