mirror of
https://github.com/badvision/jace.git
synced 2024-12-29 17:30:03 +00:00
Minor UI tweak affecting initial zoom level.
This commit is contained in:
parent
c5167901b8
commit
2a984aa142
@ -16,7 +16,6 @@ import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.concurrent.CyclicBarrier;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.logging.Level;
|
||||
import java.util.logging.Logger;
|
||||
|
@ -311,7 +311,6 @@ public class MetacheatUI {
|
||||
memoryViewPane.boundsInParentProperty().addListener((prop, oldVal, newVal) -> redrawMemoryView());
|
||||
drawScale = isRetina ? 0.5 : 1.0;
|
||||
memoryViewCanvas.widthProperty().bind(memoryViewPane.widthProperty().multiply(drawScale));
|
||||
setZoom(1/drawScale);
|
||||
|
||||
watchesPane.setHgap(5);
|
||||
watchesPane.setVgap(5);
|
||||
@ -504,7 +503,7 @@ public class MetacheatUI {
|
||||
redrawNodes.add(newCell);
|
||||
});
|
||||
|
||||
setZoom(1/drawScale);
|
||||
setZoom((1/drawScale) - 0.1);
|
||||
|
||||
if (resume) {
|
||||
Emulator.computer.resume();
|
||||
|
Loading…
Reference in New Issue
Block a user