diff --git a/src/view.js b/src/view.js index d5c1ee4..1c144b1 100644 --- a/src/view.js +++ b/src/view.js @@ -183,12 +183,7 @@ function switchDevice(id) { } window.switchClass(document.getElementById(id), 'active-device'); - - if (!DEVICE.all[id].drawn) { - // don't re-draw the whole device frame if it's already drawn - drawDeviceFrame(id); - } - + drawDeviceFrame(id); window.switchClass(document.getElementById(`device-${id}`), 'active-device-outline'); document.getElementById('device-settings-table').style.display = 'block';