Merge pull request #870 from Tyriar/869_shift_force_selection

Revert "Disable selection override on Windows/Linux"
This commit is contained in:
Daniel Imms
2017-08-08 03:02:01 -07:00
committed by GitHub
+1 -1
View File
@@ -327,7 +327,7 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
// Allow selection when using a specific modifier key, even when disabled
if (!this._enabled) {
const shouldForceSelection = Browser.isMac && event.altKey;
const shouldForceSelection = Browser.isMac ? event.altKey : event.shiftKey;
if (!shouldForceSelection) {
return;