mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-08-15 08:27:19 +00:00
recalculate scale
This commit is contained in:
@@ -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];
|
||||
|
@@ -279,6 +279,8 @@ class DataPanel extends JTabbedPane
|
||||
|
||||
if (width < 400)
|
||||
scale = (400 - 1) / width + 1;
|
||||
else
|
||||
scale = 1;
|
||||
if (scale > 4)
|
||||
scale = 4;
|
||||
|
||||
|
Reference in New Issue
Block a user