Minor font cache delay tweak
This commit is contained in:
@@ -418,7 +418,7 @@ public class JoinDialog extends BaseDialog{
|
|||||||
//don't recache the texture for a while
|
//don't recache the texture for a while
|
||||||
if(fontIgnoreDirtyTask == null){
|
if(fontIgnoreDirtyTask == null){
|
||||||
FreeTypeFontData.ignoreDirty = true;
|
FreeTypeFontData.ignoreDirty = true;
|
||||||
fontIgnoreDirtyTask = Time.runTask(60f, () -> {
|
fontIgnoreDirtyTask = Time.runTask(0.6f * 60f, () -> {
|
||||||
FreeTypeFontData.ignoreDirty = false;
|
FreeTypeFontData.ignoreDirty = false;
|
||||||
fontIgnoreDirtyTask = null;
|
fontIgnoreDirtyTask = null;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user