mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-12-24 21:43:00 +00:00
RectPad -> RectangleCanvas
This commit is contained in:
parent
ba066c5779
commit
f3a73f8ad0
1 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
|||
</div>
|
||||
<figure class="image">
|
||||
<img src="@/assets/adventskalender.jpg" />
|
||||
<RectPad ref="rect_pad" />
|
||||
<RectangleCanvas ref="rect_pad" />
|
||||
</figure>
|
||||
</section>
|
||||
</template>
|
||||
|
@ -17,11 +17,11 @@
|
|||
<script lang="ts">
|
||||
import { Vue, Options } from "vue-class-component";
|
||||
import { Rectangle } from "../rects/rectangles";
|
||||
import RectPad from "./RectangleCanvas.vue";
|
||||
import RectangleCanvas from "./RectangleCanvas.vue";
|
||||
|
||||
@Options({
|
||||
components: {
|
||||
RectPad,
|
||||
RectangleCanvas,
|
||||
},
|
||||
props: {
|
||||
rectangles: Array,
|
||||
|
@ -32,7 +32,7 @@ export default class extends Vue {
|
|||
private rectangles!: Rectangle[];
|
||||
|
||||
declare $refs: {
|
||||
rect_pad: RectPad;
|
||||
rect_pad: RectangleCanvas;
|
||||
};
|
||||
|
||||
public mounted() {
|
||||
|
|
Loading…
Reference in a new issue