diff --git a/src/cards/media-player/styles.ts b/src/cards/media-player/styles.ts index bdc77b7d..4e6394fa 100644 --- a/src/cards/media-player/styles.ts +++ b/src/cards/media-player/styles.ts @@ -19,7 +19,7 @@ export default ` height: 50px; background-color: var(--bubble-media-player-main-background-color, var(--bubble-main-background-color, var(--background-color-2, var(--secondary-background-color)))); touch-action: pan-y; - border-radius: inherit; + border-radius: var(--bubble-media-player-border-radius, var(--bubble-border-radius, 32px)); box-shadow: var(--bubble-media-player-box-shadow, var(--bubble-box-shadow, none)); } @@ -236,7 +236,7 @@ export default ` position: absolute; height: 100%; width: 100%; - border-radius: var(--bubble-media-player-border-radius, var(--bubble-border-radius, 32px)); + border-radius: inherit; overflow: hidden; } diff --git a/src/editor/bubble-card-editor.ts b/src/editor/bubble-card-editor.ts index c092f72c..fad94ae8 100644 --- a/src/editor/bubble-card-editor.ts +++ b/src/editor/bubble-card-editor.ts @@ -2084,7 +2084,6 @@ export function createBubbleCardEditor() { let arrayCopy = [...this._config[array]]; arrayCopy[index] = arrayCopy[index] || {}; arrayCopy[index] = { ...arrayCopy[index], ...value }; - arrayCopy[index] = { ...arrayCopy[index].visibility, ...value }; this._config[array] = arrayCopy; fireEvent(this, "config-changed", { config: this._config }); this.requestUpdate();