recalculate scale

This commit is contained in:
Denis Molony 2016-02-24 15:45:07 +11:00
parent 054fc41878
commit ec1472d13e
2 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,7 @@ public class HiResImage extends AbstractFile
private static final int[][] palette = { { VIOLET, GREEN }, { BLUE, RED } };
private static boolean colourQuirks;
private static boolean matchColourBits = true;
private static boolean matchColourBits = false;
private static boolean monochrome;
private final int[] line = new int[280];

View File

@ -279,6 +279,8 @@ class DataPanel extends JTabbedPane
if (width < 400)
scale = (400 - 1) / width + 1;
else
scale = 1;
if (scale > 4)
scale = 4;