Reset chat font cache color
This commit is contained in:
@@ -149,6 +149,7 @@ public class ChatFragment extends Table{
|
|||||||
if(i - scrollPos == 0) theight -= textspacing + 1;
|
if(i - scrollPos == 0) theight -= textspacing + 1;
|
||||||
|
|
||||||
font.getCache().clear();
|
font.getCache().clear();
|
||||||
|
font.getCache().setColor(Color.white);
|
||||||
font.getCache().addText(messages.get(i).formattedMessage, fontoffsetx + offsetx, offsety + theight, textWidth, Align.bottomLeft, true);
|
font.getCache().addText(messages.get(i).formattedMessage, fontoffsetx + offsetx, offsety + theight, textWidth, Align.bottomLeft, true);
|
||||||
|
|
||||||
if(!shown && fadetime - i < 1f && fadetime - i >= 0f){
|
if(!shown && fadetime - i < 1f && fadetime - i >= 0f){
|
||||||
|
|||||||
@@ -133,6 +133,7 @@ public class ScriptConsoleFragment extends Table{
|
|||||||
if(i - scrollPos == 0) theight -= textspacing + 1;
|
if(i - scrollPos == 0) theight -= textspacing + 1;
|
||||||
|
|
||||||
font.getCache().clear();
|
font.getCache().clear();
|
||||||
|
font.getCache().setColor(Color.white);
|
||||||
font.getCache().addText(messages.get(i), fontoffsetx + offsetx, offsety + theight, textWidth, Align.bottomLeft, true);
|
font.getCache().addText(messages.get(i), fontoffsetx + offsetx, offsety + theight, textWidth, Align.bottomLeft, true);
|
||||||
|
|
||||||
if(!open){
|
if(!open){
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ android.useAndroidX=true
|
|||||||
#used for slow jitpack builds; TODO see if this actually works
|
#used for slow jitpack builds; TODO see if this actually works
|
||||||
org.gradle.internal.http.socketTimeout=100000
|
org.gradle.internal.http.socketTimeout=100000
|
||||||
org.gradle.internal.http.connectionTimeout=100000
|
org.gradle.internal.http.connectionTimeout=100000
|
||||||
archash=159f05aff28e1f4edf6214f225aef2d63c4c37a6
|
archash=ea2d4b8455a8502eeea80795cd2b6d10d8dfe21c
|
||||||
|
|||||||
Reference in New Issue
Block a user