Skip to content

Commit cfb866e

Browse files
committed
strip white spaces when creating atlases
1 parent be58010 commit cfb866e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

adventure-editor/src/main/java/com/bladecoder/engineeditor/ui/CreateResolutionDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
public class CreateResolutionDialog extends EditDialog {
3636

37-
private static final String INFO = "Create a new resolution. Scale backgrounds and overlays from the world resolution.";
37+
private static final String INFO = "Create a new resolution. Scale all atlases and images of the game.";
3838

3939
private InputPanel scale;
4040

adventure-editor/src/main/java/com/bladecoder/engineeditor/utils/ImageUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ public static void createAtlas(String inDir, String outdir, String name, float s
163163
settings.rotation = false;
164164
settings.minWidth = 16;
165165
settings.minWidth = 16;
166-
settings.stripWhitespaceX = false;
167-
settings.stripWhitespaceY = false;
166+
settings.stripWhitespaceX = true;
167+
settings.stripWhitespaceY = true;
168168
settings.alphaThreshold = 0;
169169

170170
settings.filterMin = filterMin;

0 commit comments

Comments
 (0)