mirror of
https://github.com/stagehacks/Cue-View.git
synced 2026-08-10 08:13:38 +00:00
Revert "Don't redraw device views when you click on them"
This reverts commit f433a9983c.
This commit is contained in:
+1
-6
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user