2023-01-19 17:59:18 +00:00
|
|
|
<template>
|
2023-09-10 03:38:24 +00:00
|
|
|
<div class="card-content">
|
2023-09-10 03:48:50 +00:00
|
|
|
<div class="content is-small">
|
2023-09-09 23:08:43 +00:00
|
|
|
<h3>Steuerung</h3>
|
2023-01-19 17:59:18 +00:00
|
|
|
<ul>
|
|
|
|
|
<li>Linksklick + Ziehen: Neues Türchen erstellen</li>
|
|
|
|
|
<li>Rechtsklick + Ziehen: Türchen verschieben</li>
|
|
|
|
|
<li>Doppel- oder Mittelklick: Türchen löschen</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2023-09-09 21:41:06 +00:00
|
|
|
<figure class="image is-unselectable">
|
2025-12-05 02:12:33 +00:00
|
|
|
<img :src="ensure_loaded(store.background_image).data_url" />
|
|
|
|
|
<DoorCanvas v-model="model" />
|
2023-01-19 17:59:18 +00:00
|
|
|
</figure>
|
2023-09-09 23:08:43 +00:00
|
|
|
</div>
|
2023-01-19 17:59:18 +00:00
|
|
|
</template>
|
|
|
|
|
|
2025-12-05 02:12:33 +00:00
|
|
|
<script setup lang="ts">
|
2025-12-25 19:56:25 +00:00
|
|
|
import { ensure_loaded, Like } from "@/lib/helpers";
|
2024-08-23 16:38:04 +00:00
|
|
|
import { Door } from "@/lib/rects/door";
|
|
|
|
|
import { advent22Store } from "@/lib/store";
|
2023-09-07 02:08:56 +00:00
|
|
|
|
2023-10-27 15:04:07 +00:00
|
|
|
import DoorCanvas from "./DoorCanvas.vue";
|
2023-01-19 17:59:18 +00:00
|
|
|
|
2025-12-25 19:56:25 +00:00
|
|
|
const model = defineModel<Like<Door>[]>({ required: true });
|
2025-12-05 02:12:33 +00:00
|
|
|
const store = advent22Store();
|
2023-01-19 17:59:18 +00:00
|
|
|
</script>
|