From ed495f2fd9d314bdf60cca9badd2a10c100cc058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 12 Feb 2021 22:27:51 +0100 Subject: [PATCH] overlay remove defaults for props. --- src/component/overlay.vue | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/component/overlay.vue b/src/component/overlay.vue index 01872af9..c12caa43 100644 --- a/src/component/overlay.vue +++ b/src/component/overlay.vue @@ -74,16 +74,10 @@ private readonly control!: Control @Prop() - private readonly screenSize: { width: number; height: number } = { - width: 0, - height: 0, - } + private readonly screenSize!: { width: number; height: number } @Prop() - private readonly canvasSize: { width: number; height: number } = { - width: 0, - height: 0, - } + private readonly canvasSize!: { width: number; height: number } @Prop() private readonly isControling!: boolean