mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2024-12-25 14:32:15 +00:00
recalculate scale
This commit is contained in:
parent
054fc41878
commit
ec1472d13e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user