From 34ac1bc5029ea7f440acaf904c9c502324d6b1c9 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 10 May 2019 23:38:45 -0700 Subject: [PATCH] Fix clearSelection not firing onSelectionChange Fixes #2070 --- src/SelectionManager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SelectionManager.ts b/src/SelectionManager.ts index dcd600687..712550836 100644 --- a/src/SelectionManager.ts +++ b/src/SelectionManager.ts @@ -245,6 +245,7 @@ export class SelectionManager implements ISelectionManager { this._model.clearSelection(); this._removeMouseDownListeners(); this.refresh(); + this._onSelectionChange.fire(); } /**