Add new resolution drop-down select
CI / ci (push) Failing after 7s

This commit is contained in:
2026-05-25 13:55:20 +02:00
parent 7a0d935239
commit 0ff637ffe1
4 changed files with 22 additions and 12 deletions
+3 -2
View File
@@ -216,8 +216,9 @@ export class ScryingPoolStrip extends _AppBase {
const showName = dockLayout.endsWith('-md');
// Story 5.2: Video widget width customization
const widgetWidthSm = this._adapter.settings?.get?.('widgetWidthSm') ?? '80';
const widgetWidthMd = this._adapter.settings?.get?.('widgetWidthMd') ?? '120';
// Defaults match settings registration in module.js: 83px for sm, 150px for md
const widgetWidthSm = this._adapter.settings?.get?.('widgetWidthSm') ?? '83';
const widgetWidthMd = this._adapter.settings?.get?.('widgetWidthMd') ?? '150';
const isLarge = effectiveSize === 'md';
const effectiveWidth = isLarge ? widgetWidthMd : widgetWidthSm;