Skip to content

Commit c63d7e3

Browse files
committed
Merge branch 'typescript' of https://github.com/oslabs-beta/OverVue into typescript
2 parents 71722c5 + e9aebad commit c63d7e3

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/components/Canvas.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -330,15 +330,15 @@
330330
color="transparent"
331331
text-color="primary"
332332
label="–"
333-
@click="(e) => handleLayer(e)"
333+
@click="(e : Event) => handleLayer(e)"
334334
/>
335335
<p id="counter">{{ componentData.z }}</p>
336336
<q-btn
337337
class="minorAction"
338338
color="transparent"
339339
text-color="primary"
340340
label="+"
341-
@click="(e) => handleLayer(e)"
341+
@click="(e : Event) => handleLayer(e)"
342342
/>
343343
</q-item>
344344
<q-item clickable v-ripple v-close-popup @click="handleAddChild">
@@ -1446,7 +1446,7 @@ li:hover {
14461446
linear-gradient(90deg, rgba(255, 255, 255, 0.8) 1px, transparent 1px),
14471447
linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
14481448
linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
1449-
-pie-background: linear-gradient(
1449+
-pie-background: linear-gradient(
14501450
rgba(255, 255, 255, 0.8) 1px,
14511451
transparent 1px
14521452
) -2px -2px / 100px,

src/store/actions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,8 @@ const actions: Store<"main", State, {}, Actions> = {
900900
const updatedComponent = this.routes[this.activeRoute].filter(
901901
(element) => element.componentName === payload.activeComponent
902902
)[0];
903-
updatedComponent.h = payload.h;
904-
updatedComponent.w = payload.w;
903+
(updatedComponent.h as number | undefined) = payload.h;
904+
(updatedComponent.w as number | undefined) = payload.w;
905905
updatedComponent.x = payload.x;
906906
updatedComponent.y = payload.y;
907907
},

0 commit comments

Comments
 (0)