From 28676787eadfd39f02af19e0bd721253b475e55e Mon Sep 17 00:00:00 2001 From: Mawoka Date: Mon, 2 Oct 2023 11:10:51 +0200 Subject: [PATCH] :sparkles: Implemented MediaComponent into other game mode --- frontend/src/lib/play/question.svelte | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/play/question.svelte b/frontend/src/lib/play/question.svelte index e706beb..236e5bf 100644 --- a/frontend/src/lib/play/question.svelte +++ b/frontend/src/lib/play/question.svelte @@ -15,6 +15,7 @@ SPDX-License-Identifier: MPL-2.0 import { flip } from 'svelte/animate'; import BrownButton from '$lib/components/buttons/brown.svelte'; import { get_foreground_color } from '../helpers'; + import MediaComponent from '$lib/editor/MediaComponent.svelte'; const { t } = getLocalization(); @@ -154,10 +155,9 @@ SPDX-License-Identifier: MPL-2.0 {#if question.image !== null && game_mode !== 'kahoot'}
- Content for Question
{/if} @@ -167,7 +167,7 @@ SPDX-License-Identifier: MPL-2.0 {#if question.type === QuizQuestionType.ABCD || question.type === QuizQuestionType.VOTING}