Commit d625d05e authored by vertighel's avatar vertighel
Browse files

webcam panel: fix dependency-guard flickering



Card contained /dome/light and /telescope/lamp buttons, causing the
dome and telescope guards to toggle the card on/off every 3s. Adding
data-subsystem="webcam" pins the card to the webcam guard only.

Co-Authored-By: default avatarClaude Sonnet 4.6 <noreply@anthropic.com>
parent d2be6153
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
{% from "macros/widgets.html" import widget_onoff, widget_toggle %}

{% macro webcam_panel() %}
<div class="card bg-dark shadow border-secondary mb-3" id="webcam-card">
<div class="card bg-dark shadow border-secondary mb-3" id="webcam-card" data-subsystem="webcam">

    <div class="position-relative bg-black text-center" style="min-height: 200px;">
        <img id="webcam-snapshot" class="img-fluid w-100 object-fit-contain"