This commit is contained in:
Anuken
2026-03-01 14:19:46 -05:00
parent 1c2a3eb2e5
commit c9efe991df
2 changed files with 2 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ public class Schematics implements Loadable{
public void savePreview(Schematic schematic, Fi file){
FrameBuffer buffer = getBuffer(schematic);
Draw.flush();
buffer.begin(Color.clear);
buffer.begin();
Pixmap pixmap = ScreenUtils.getFrameBufferPixmap(0, 0, buffer.getWidth(), buffer.getHeight());
file.writePng(pixmap);
buffer.end();