Skip to content

Commit

Permalink
satisfy typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
halamix2 committed Nov 17, 2024
1 parent 85a3ba5 commit 61cd577
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/views/PhotoView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ onMounted(() => {
<CanvasItem
:canvasWidth="canvasWidth"
:canvasHeight="canvasHeight"
@canvasElement="(can: HTMLElement) => (mainCanvas = can)"
@canvasElement="(can: HTMLCanvasElement) => (mainCanvas = can)"
@updateBackground="(b: string) => (photo = b)"
@updateRotation="(r: number) => (photoRotation = (photoRotation + r) % 360)"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/views/RunnerView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ onMounted(() => {
:class="`h-auto w-auto`"
:canvasWidth="canvasWidth"
:canvasHeight="canvasHeight"
@canvasElement="(can: HTMLElement) => (mainCanvas = can)"
@canvasElement="(can: HTMLCanvasElement) => (mainCanvas = can)"
@updateBackground="(b: string) => (photo = b)"
@updateRotation="(r: number) => (photoRotation = (photoRotation + r) % 360)"
/>
Expand Down
2 changes: 1 addition & 1 deletion src/views/YoutubeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ onMounted(() => {
<CanvasItem
:canvasWidth="canvasWidth"
:canvasHeight="canvasHeight"
@canvasElement="(can: HTMLElement) => (mainCanvas = can)"
@canvasElement="(can: HTMLCanvasElement) => (mainCanvas = can)"
@updateBackground="(b: string) => (photo = b)"
@updateRotation="(r: number) => (photoRotation = (photoRotation + r) % 360)"
/>
Expand Down

0 comments on commit 61cd577

Please sign in to comment.