Skip to content

Commit 1c60c89

Browse files
committed
updated some minor bugs with merge Keyla
1 parent c5c4b1b commit 1c60c89

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

src/components/left-sidebar/ComponentTab/CreateMenuHTMLQueue.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Description:
1010
group="people"
1111
class="list-group"
1212
>
13+
1314
<div
14-
:class="activeHTML === element[2] ? 'list-group-item-selected' : 'list-group-item'"
1515
@dblclick.self="setActiveElement(element)"
1616
v-for="(element) in renderList" :key="element[1] + Date.now()"
1717
@dragenter="dragEnter($event, element[2])"

src/components/right-sidebar/CodeSnippet.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export default {
8686
},
8787
// Creates <template> boilerplate
8888
writeTemplateTag(componentName) {
89-
console.log(this.activeComponentObj)
89+
// console.log(this.activeComponentObj)
9090
// create reference object
9191
const htmlElementMap = {
9292
div: ["<div", "</div>"],

src/components/right-sidebar/HTMLQueue.vue

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ Description:
1717
<div group="people" class="list-group">
1818

1919
<p v-if='!this.componentMap[this.activeComponent]?.htmlList.length'>No HTML elements in component</p>
20-
<!---->
2120
<div
22-
id="tooltipCon"
2321
v-for="(element) in renderList" :key="element[1] + Date.now()"
2422
@dragenter="dragEnter($event, element[2])"
25-
>
23+
>
2624
<div
25+
id="tooltipCon"
2726
:class="activeHTML === element[2] ? 'list-group-item-selected' : 'list-group-item'"
28-
@dblclick.self="setActiveElement(element)"
2927
@dragstart="startDrag($event, element[2])"
3028
@dragend="endDrag($event)"
3129
draggable="true"
@@ -42,7 +40,7 @@ Description:
4240
</div>
4341
</div>
4442

45-
<!--START OF CHANGES-->>
43+
<!--START OF CHANGES-->
4644
<!-- &nbsp; &nbsp; Viewing Elements in {{ this.activeComponent }} '{{ depth }}'
4745
<hr>
4846
</span>
@@ -151,20 +149,15 @@ export default {
151149
else this.$store.dispatch(deleteFromComponentHtmlList, id[1])
152150
},
153151
setActiveElement(element) {
154-
// if (this.activeComponent !== '') {
155-
// }
156-
console.log(this.activeHTML)
152+
if (this.activeComponent !== '') {
157153
this.setActiveHTML(element);
158154
this.openAttributeModal(element);
159-
160-
console.log(this.activeHTML)
155+
}
161156
162157
},
163158
setLayer(element) {
164159
this.setActiveLayer(element)
165160
element.id = this.activeHTML
166-
console.log(element)
167-
console.log(this.activeHTML)
168161
},
169162
setParentLayer() {
170163
if (this.activeLayer.id !== '') {
@@ -304,7 +297,7 @@ hr {
304297
}
305298
306299
.currentlyDragging {
307-
opacity: .5;
300+
opacity: 1;
308301
}
309302
310303
.ignoreByDragover {
@@ -313,7 +306,7 @@ hr {
313306
#tooltipCon {
314307
position: relative;
315308
cursor: pointer;
316-
margin-top: 2em;
309+
margin-top: 1em;
317310
}
318311
319312
.tooltip {

0 commit comments

Comments
 (0)