Another minor optimization
This commit is contained in:
@@ -440,7 +440,7 @@ public class Block extends UnlockableContent implements Senseable{
|
||||
}
|
||||
|
||||
public float drawPlaceText(String text, int x, int y, boolean valid){
|
||||
if(renderer.pixelator.enabled()) return 0;
|
||||
if(renderer.pixelate) return 0;
|
||||
|
||||
Color color = valid ? Pal.accent : Pal.remove;
|
||||
Font font = Fonts.outline;
|
||||
|
||||
@@ -71,7 +71,7 @@ public class MessageBlock extends Block{
|
||||
|
||||
@Override
|
||||
public void drawSelect(){
|
||||
if(renderer.pixelator.enabled()) return;
|
||||
if(renderer.pixelate) return;
|
||||
|
||||
Font font = Fonts.outline;
|
||||
GlyphLayout l = Pools.obtain(GlyphLayout.class, GlyphLayout::new);
|
||||
|
||||
Reference in New Issue
Block a user