diff --git a/design/switch-down.afdesign b/design/switch-down.afdesign
index cc1e70e..b370ae5 100644
Binary files a/design/switch-down.afdesign and b/design/switch-down.afdesign differ
diff --git a/design/switch-down.svg b/design/switch-down.svg
index 96ccffe..c48ee3a 100644
--- a/design/switch-down.svg
+++ b/design/switch-down.svg
@@ -5,21 +5,24 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
diff --git a/design/switch-mid.afdesign b/design/switch-mid.afdesign
index f692518..f561bb4 100644
Binary files a/design/switch-mid.afdesign and b/design/switch-mid.afdesign differ
diff --git a/design/switch-mid.svg b/design/switch-mid.svg
index 1e13cdb..4950c98 100644
--- a/design/switch-mid.svg
+++ b/design/switch-mid.svg
@@ -5,21 +5,21 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
diff --git a/design/switch-up.afdesign b/design/switch-up.afdesign
index 6a56013..f8eb785 100644
Binary files a/design/switch-up.afdesign and b/design/switch-up.afdesign differ
diff --git a/design/switch-up.svg b/design/switch-up.svg
index e0e519f..cee2ef2 100644
--- a/design/switch-up.svg
+++ b/design/switch-up.svg
@@ -5,21 +5,24 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
diff --git a/index.html b/index.html
index d19763d..51cb0fe 100644
--- a/index.html
+++ b/index.html
@@ -451,7 +451,7 @@
-
-
+
@@ -483,75 +483,81 @@
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
+
-
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
-
-
+
+
+
+
+
diff --git a/js/panel.js b/js/panel.js
index 085d77b..8161ba5 100644
--- a/js/panel.js
+++ b/js/panel.js
@@ -607,6 +607,9 @@ panel.createLed = function(id, x, y) {
var ledOnElem = document.getElementById('led-on');
var ledOffElem = document.getElementById('led-off');
+ ledOnElem.style.display = 'none';
+ ledOffElem.style.display = 'none';
+
var onElem = ledOnElem.cloneNode(true);
onElem.id = id + '-on';
onElem.x.baseVal.value = '' + x;
@@ -659,6 +662,10 @@ panel.createSwitch = function(id, type, x, y, upperCmd, lowerCmd) {
var switchUpElem = document.getElementById('switch-up');
var switchDownElem = document.getElementById('switch-down');
+ switchMidElem.style.display = 'none';
+ switchUpElem.style.display = 'none';
+ switchDownElem.style.display = 'none';
+
var midElem = switchMidElem.cloneNode(true);
midElem.id = id + '-mid';
midElem.x.baseVal.value = '' + x;