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();