Revert "Don't redraw device views when you click on them"

This reverts commit f433a9983c.
This commit is contained in:
sparks-alec
2023-10-01 01:45:47 -04:00
parent c5b5d350f2
commit 5b2199b601
+1 -6
View File
@@ -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';