v0.4.2: increased the size of the renderedtext cache

This commit is contained in:
Evan Debenham 2016-09-05 01:52:34 -04:00
parent 6ed1ec2214
commit b70349256d

View File

@ -48,7 +48,7 @@ public class RenderedText extends Image {
private static LinkedHashMap<String, CachedText> textCache =
new LinkedHashMap<String, CachedText>(700, 0.75f, true){
private int cachedChars = 0;
private final int MAX_CACHED = 500;
private final int MAX_CACHED = 1000;
@Override
public CachedText put(String key, CachedText value) {