Skip to content
Snippets Groups Projects
Commit bd02e024 authored by rhenck's avatar rhenck
Browse files

Remove showRestRuns property for player elements

parent 95bbdc6f
No related branches found
No related tags found
No related merge requests found
...@@ -28,6 +28,5 @@ export interface PlayerElement { ...@@ -28,6 +28,5 @@ export interface PlayerElement {
activeAfter: string; // '' (andere Audio - id; Audio ist deaktiviert, solange anderes nicht vollständig abgespielt) activeAfter: string; // '' (andere Audio - id; Audio ist deaktiviert, solange anderes nicht vollständig abgespielt)
minRuns: number; // 1 minRuns: number; // 1
maxRuns: number | null; // null maxRuns: number | null; // null
showRestRuns: boolean; // true (wenn maxRuns)
showRestTime: boolean; // true showRestTime: boolean; // true
} }
...@@ -21,7 +21,6 @@ export class AudioElement extends UIElement implements PlayerElement { ...@@ -21,7 +21,6 @@ export class AudioElement extends UIElement implements PlayerElement {
activeAfter: string = ''; activeAfter: string = '';
minRuns: number = 1; minRuns: number = 1;
maxRuns: number | null = null; maxRuns: number | null = null;
showRestRuns: boolean = true;
showRestTime: boolean = true; showRestTime: boolean = true;
constructor(serializedElement: UIElement, coordinates?: { x: number; y: number }) { constructor(serializedElement: UIElement, coordinates?: { x: number; y: number }) {
......
...@@ -21,7 +21,6 @@ export class VideoElement extends UIElement implements PlayerElement { ...@@ -21,7 +21,6 @@ export class VideoElement extends UIElement implements PlayerElement {
activeAfter: string = ''; activeAfter: string = '';
minRuns: number = 1; minRuns: number = 1;
maxRuns: number | null = null; maxRuns: number | null = null;
showRestRuns: boolean = true;
showRestTime: boolean = true; showRestTime: boolean = true;
constructor(serializedElement: UIElement, coordinates?: { x: number; y: number }) { constructor(serializedElement: UIElement, coordinates?: { x: number; y: number }) {
......
...@@ -34,7 +34,6 @@ export function initPlayerElement(serializedElement: UIElement): PlayerElement { ...@@ -34,7 +34,6 @@ export function initPlayerElement(serializedElement: UIElement): PlayerElement {
activeAfter: serializedElement.activeAfter as string || '', activeAfter: serializedElement.activeAfter as string || '',
minRuns: serializedElement.minRuns as number || 1, minRuns: serializedElement.minRuns as number || 1,
maxRuns: serializedElement.maxRuns as number | null || null, maxRuns: serializedElement.maxRuns as number | null || null,
showRestRuns: serializedElement.showRestRuns as boolean || true,
showRestTime: serializedElement.showRestTime as boolean || true showRestTime: serializedElement.showRestTime as boolean || true
}; };
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment