From ec1472d13edb5a7b25d639c2ae404d820552e995 Mon Sep 17 00:00:00 2001 From: Denis Molony Date: Wed, 24 Feb 2016 15:45:07 +1100 Subject: [PATCH] recalculate scale --- src/com/bytezone/diskbrowser/applefile/HiResImage.java | 2 +- src/com/bytezone/diskbrowser/gui/DataPanel.java | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/bytezone/diskbrowser/applefile/HiResImage.java b/src/com/bytezone/diskbrowser/applefile/HiResImage.java index b7d3fcb..008ae6b 100755 --- a/src/com/bytezone/diskbrowser/applefile/HiResImage.java +++ b/src/com/bytezone/diskbrowser/applefile/HiResImage.java @@ -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]; diff --git a/src/com/bytezone/diskbrowser/gui/DataPanel.java b/src/com/bytezone/diskbrowser/gui/DataPanel.java index 6236af9..d8b5717 100755 --- a/src/com/bytezone/diskbrowser/gui/DataPanel.java +++ b/src/com/bytezone/diskbrowser/gui/DataPanel.java @@ -279,6 +279,8 @@ class DataPanel extends JTabbedPane if (width < 400) scale = (400 - 1) / width + 1; + else + scale = 1; if (scale > 4) scale = 4;