refactor: ♻️ fix keyboard listener comment

This commit is contained in:
wtzeng1
2021-04-28 02:10:19 +08:00
committed by vector
parent 5559f1453a
commit 53dafe8657

View File

@ -27,7 +27,7 @@ export class Keyboard extends Disposable implements IDisablable {
this.target.setAttribute('tabindex', '-1')
}
// change to mousedown eventprevent page stalling caused by focus
// change to mouseup eventprevent page stalling caused by focus
this.graph.on('cell:mouseup', this.focus, this)
this.graph.on('blank:mouseup', this.focus, this)
}