Skip to content
Snippets Groups Projects
Commit 44d665ba authored by jojohoch's avatar jojohoch
Browse files

[editor] Add possibility to change the media source of the hotspot image

parent 22583f16
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
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