From db8cd3f744f4fa6432ba76288ccfc2d8ba875466 Mon Sep 17 00:00:00 2001 From: pf Date: Fri, 23 Jul 2021 20:27:12 -0700 Subject: [PATCH] fix background for 2d scopes --- src/com/lushprojects/circuitjs1/client/Scope.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/lushprojects/circuitjs1/client/Scope.java b/src/com/lushprojects/circuitjs1/client/Scope.java index 00a969a3..6ad68fa3 100644 --- a/src/com/lushprojects/circuitjs1/client/Scope.java +++ b/src/com/lushprojects/circuitjs1/client/Scope.java @@ -636,9 +636,9 @@ class Scope { void clear2dView() { if (imageContext!=null) { if (sim.printableCheckItem.getState()) { - imageContext.setFillStyle("#ffffff"); + imageContext.setFillStyle("#eee"); } else { - imageContext.setFillStyle("#000000"); + imageContext.setFillStyle("#111"); } imageContext.fillRect(0, 0, rect.width-1, rect.height-1); }