Fix clearSelection in select all mode

This commit is contained in:
Daniel Imms
2017-06-07 13:48:12 -07:00
parent 2012c8c91d
commit 4405f5e163
2 changed files with 11 additions and 6 deletions
+9
View File
@@ -32,6 +32,15 @@ export class SelectionModel {
) {
}
/**
* Clears the current selection.
*/
public clearSelection(): void {
this.selectionStart = null;
this.selectionEnd = null;
this.isSelectAllActive = false;
}
/**
* The final selection start, taking into consideration select all.
*/