diff --git a/projects/editor/src/app/services/unit.service.ts b/projects/editor/src/app/services/unit.service.ts index 94ac36f647204f80b2e576d5dc25eb6fb8fa64d7..f0893007227148cad938527cb63769648b196d55 100644 --- a/projects/editor/src/app/services/unit.service.ts +++ b/projects/editor/src/app/services/unit.service.ts @@ -255,7 +255,13 @@ export class UnitService { 'backgroundColor', 'borderRadius', 'itemBackgroundColor', 'borderWidth', 'borderColor', 'borderStyle', 'lineColoring', 'lineColoringColor'].includes(property)) { element.styles![property] = Copy.getCopy(value); + } else if (['autostart', 'autostartDelay', 'loop', 'startControl', 'pauseControl', + 'progressBar', 'interactiveProgressbar', 'volumeControl', 'defaultVolume', 'minVolume', + 'muteControl', 'interactiveMuteControl', 'hintLabel', 'hintLabelDelay', 'activeAfterID', + 'minRuns', 'maxRuns', 'showRestRuns', 'showRestTime', 'playbackTime'].includes(property)) { + element.playerProps![property] = Copy.getCopy(value); } else { + // TODO playerProps behandeln element[property] = Copy.getCopy(value); } });