mirror of
https://github.com/dmolony/DiskBrowser.git
synced 2025-02-17 14:30:52 +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 final int[][] palette = { { VIOLET, GREEN }, { BLUE, RED } };
|
||||||
|
|
||||||
private static boolean colourQuirks;
|
private static boolean colourQuirks;
|
||||||
private static boolean matchColourBits = true;
|
private static boolean matchColourBits = false;
|
||||||
private static boolean monochrome;
|
private static boolean monochrome;
|
||||||
|
|
||||||
private final int[] line = new int[280];
|
private final int[] line = new int[280];
|
||||||
|
@ -279,6 +279,8 @@ class DataPanel extends JTabbedPane
|
|||||||
|
|
||||||
if (width < 400)
|
if (width < 400)
|
||||||
scale = (400 - 1) / width + 1;
|
scale = (400 - 1) / width + 1;
|
||||||
|
else
|
||||||
|
scale = 1;
|
||||||
if (scale > 4)
|
if (scale > 4)
|
||||||
scale = 4;
|
scale = 4;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user