The setting's onChange fired before the settings store was updated, so
_getCounts re-read getSettingValue and got the previous value, leaving
the buttons one step behind. Pass the onChange value through
resetButton/_createButtons/_getCounts and only fall back to the store
when no value is given (initial build).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Drag the queue button panel onto the top actionbar to dock it, and drag
the handle out (past a threshold) to float it again. Docking reuses
ComfyUI's ComfyButtonGroup / actionbar `.border-dashed` reveal hook, and
the mode is persisted in a cookie. The dock feature is opt-in via a new
D2_FloatContainer option so the shared PromptConvert / ProgressPreview
panels are unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Define shared button CSS class constants (BASE / PRIMARY / SECONDARY)
in D2_FloatContainer and apply them to the queue and prompt-convert
buttons so they match the ComfyUI (PrimeVue/Tailwind) button look.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>