Update view.js

Bug fix for panel not redrawn if switching window arrangement
This commit is contained in:
Linus Wileryd
2026-05-15 10:25:54 +02:00
parent 88f9b7b429
commit be4bba22e8
+4
View File
@@ -310,6 +310,10 @@ module.exports.resetPinned = function resetPinned() {
pinnedDevices.length = 0;
activeDevice = false;
Object.keys(DEVICE.all).forEach((id) => {
DEVICE.all[id].frameDrawn = false;
});
try {
document.querySelector('#device-list .active-device').classList.remove('active-device');
} catch (err) {