lint: duplicate var name
This commit is contained in:
parent
6c2d47c13a
commit
ab64f77203
1 changed files with 3 additions and 3 deletions
|
|
@ -230,10 +230,10 @@ var Editor = class Editor {
|
|||
case 'mod + a':
|
||||
if (!this.selectedWidgets.length) return
|
||||
|
||||
var curWidget = this.selectedWidgets[0]
|
||||
var curWidget1 = this.selectedWidgets[0]
|
||||
|
||||
if (curWidget.parent !== widgetManager) {
|
||||
this.select(curWidget.parent.children)
|
||||
if (curWidget1.parent !== widgetManager) {
|
||||
this.select(curWidget1.parent.children)
|
||||
}
|
||||
break
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue