Fix editing bug (#480)
This commit is contained in:
parent
e7a2f5d6d4
commit
97ba1505ab
1 changed files with 5 additions and 1 deletions
|
@ -195,7 +195,11 @@ export class SelectTool extends BaseTool<Status> {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
case 'Tab': {
|
case 'Tab': {
|
||||||
if (this.status === Status.Idle && this.app.selectedIds.length === 1) {
|
if (
|
||||||
|
!this.app.pageState.editingId &&
|
||||||
|
this.status === Status.Idle &&
|
||||||
|
this.app.selectedIds.length === 1
|
||||||
|
) {
|
||||||
const [selectedId] = this.app.selectedIds
|
const [selectedId] = this.app.selectedIds
|
||||||
const clonedShape = this.getShapeClone(selectedId, 'right')
|
const clonedShape = this.getShapeClone(selectedId, 'right')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue