fix: 🐛 stop propagation when enable following (#1398)

This commit is contained in:
vector
2021-10-02 19:07:31 +08:00
committed by GitHub
parent 925cdb7d74
commit a256bbf9a2

View File

@ -349,7 +349,10 @@ export class Selection extends View<Selection.EventArgs> {
}
protected onSelectionBoxMouseDown(evt: JQuery.MouseDownEvent) {
// evt.stopPropagation()
if (!this.options.following) {
evt.stopPropagation()
}
const e = this.normalizeEvent(evt)
if (this.options.movable) {