From d61c27deca65402a10ad601e35a9d65334cf8788 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Sat, 4 Nov 2023 04:17:53 +0000 Subject: [PATCH] Calendar remove figcaption --- ui/src/components/Calendar.vue | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/ui/src/components/Calendar.vue b/ui/src/components/Calendar.vue index 224cc22..fff96af 100644 --- a/ui/src/components/Calendar.vue +++ b/ui/src/components/Calendar.vue @@ -2,9 +2,6 @@
-
- {{ figure_caption }} -
@@ -14,10 +11,6 @@ :door="door" :visible="store.is_touch_device" @click="door_click(door.day)" - @touch="door_hover(door.day)" - @mouseover="door_hover(door.day)" - @touchend="door_unhover" - @mouseout="door_unhover" />
@@ -47,24 +40,14 @@ import ThouCanvas from "./calendar/ThouCanvas.vue"; }) export default class extends Vue { public readonly doors!: Door[]; - private readonly idle_caption = "Finde die Türchen auf dem Adventskalender!"; public readonly store = advent22Store(); private multi_modal?: MultiModal; - public figure_caption = this.idle_caption; public modal_handle(modal: MultiModal) { this.multi_modal = modal; } - public door_hover(day: number) { - this.figure_caption = this.$advent22.name_door(day); - } - - public door_unhover() { - this.figure_caption = this.idle_caption; - } - public door_click(day: number) { if (this.multi_modal === undefined) return; this.multi_modal.show_progress();