BitmapFont -> Font / Bugfixes
This commit is contained in:
@@ -238,7 +238,7 @@ public class Block extends UnlockableContent{
|
||||
if(renderer.pixelator.enabled()) return 0;
|
||||
|
||||
Color color = valid ? Pal.accent : Pal.remove;
|
||||
BitmapFont font = Fonts.outline;
|
||||
Font font = Fonts.outline;
|
||||
GlyphLayout layout = Pools.obtain(GlyphLayout.class, GlyphLayout::new);
|
||||
boolean ints = font.usesIntegerPositions();
|
||||
font.setUseIntegerPositions(false);
|
||||
|
||||
@@ -62,7 +62,7 @@ public class MessageBlock extends Block{
|
||||
public void drawSelect(){
|
||||
if(renderer.pixelator.enabled()) return;
|
||||
|
||||
BitmapFont font = Fonts.outline;
|
||||
Font font = Fonts.outline;
|
||||
GlyphLayout l = Pools.obtain(GlyphLayout.class, GlyphLayout::new);
|
||||
boolean ints = font.usesIntegerPositions();
|
||||
font.getData().setScale(1 / 4f / Scl.scl(1f));
|
||||
|
||||
Reference in New Issue
Block a user