RectPad -> RectangleCanvas

This commit is contained in:
Jörn-Michael Miehe 2023-01-27 00:23:41 +00:00
parent ba066c5779
commit f3a73f8ad0

View file

@ -9,7 +9,7 @@
</div> </div>
<figure class="image"> <figure class="image">
<img src="@/assets/adventskalender.jpg" /> <img src="@/assets/adventskalender.jpg" />
<RectPad ref="rect_pad" /> <RectangleCanvas ref="rect_pad" />
</figure> </figure>
</section> </section>
</template> </template>
@ -17,11 +17,11 @@
<script lang="ts"> <script lang="ts">
import { Vue, Options } from "vue-class-component"; import { Vue, Options } from "vue-class-component";
import { Rectangle } from "../rects/rectangles"; import { Rectangle } from "../rects/rectangles";
import RectPad from "./RectangleCanvas.vue"; import RectangleCanvas from "./RectangleCanvas.vue";
@Options({ @Options({
components: { components: {
RectPad, RectangleCanvas,
}, },
props: { props: {
rectangles: Array, rectangles: Array,
@ -32,7 +32,7 @@ export default class extends Vue {
private rectangles!: Rectangle[]; private rectangles!: Rectangle[];
declare $refs: { declare $refs: {
rect_pad: RectPad; rect_pad: RectangleCanvas;
}; };
public mounted() { public mounted() {