File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export default {
101
101
102
102
window .addEventListener (" keyup" , event => {
103
103
if (event .key === " Backspace" ) {
104
- if (this .activeComponent && this .activeComponentData .isActive ) {
104
+ if (this .activeComponent /* && this.activeComponentData.isActive*/ ) {
105
105
// console.log('this:', this)
106
106
this .$store .dispatch (" deleteActiveComponent" );
107
107
}
@@ -406,7 +406,7 @@ export default {
406
406
z-index : -1 ;
407
407
}
408
408
.component-children {
409
- position : absolute ;
409
+ position : relative ;
410
410
top : 0rem ;
411
411
left : 2px ;
412
412
color : black ;
Original file line number Diff line number Diff line change @@ -84,10 +84,9 @@ export default {
84
84
85
85
},
86
86
resetActiveComponent () {
87
- if (! this .activeComponent === ' ' ){
88
- this .setActiveComponent (' ' )
89
- }
90
-
87
+ if (this .activeComponent !== ' ' ) {
88
+ this .setActiveComponent (' ' )
89
+ }
91
90
},
92
91
handleIconClick () {
93
92
if (this .activeComponent === ' ' ) this .setClickedElementList ()
You can’t perform that action at this time.
0 commit comments