From 44d665ba88648ed923c4f21211f054990b44f779 Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Mon, 24 Oct 2022 17:05:15 +0200 Subject: [PATCH] [editor] Add possibility to change the media source of the hotspot image --- .../model-properties-tab/element-model-properties.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/editor/src/app/components/properties-panel/model-properties-tab/element-model-properties.component.ts b/projects/editor/src/app/components/properties-panel/model-properties-tab/element-model-properties.component.ts index 3006f14ec..aea9377cb 100644 --- a/projects/editor/src/app/components/properties-panel/model-properties-tab/element-model-properties.component.ts +++ b/projects/editor/src/app/components/properties-panel/model-properties-tab/element-model-properties.component.ts @@ -61,6 +61,7 @@ export class ElementModelPropertiesComponent { async changeMediaSrc(elementType: string) { let mediaSrc = ''; switch (elementType) { + case 'hotspot-image': case 'image': mediaSrc = await FileService.loadImage(); break; -- GitLab