Revert "Disable selection override on Windows/Linux"
This reverts commit 3479614c73.
This commit is contained in:
@@ -327,7 +327,7 @@ export class SelectionManager extends EventEmitter implements ISelectionManager
|
|||||||
|
|
||||||
// Allow selection when using a specific modifier key, even when disabled
|
// Allow selection when using a specific modifier key, even when disabled
|
||||||
if (!this._enabled) {
|
if (!this._enabled) {
|
||||||
const shouldForceSelection = Browser.isMac && event.altKey;
|
const shouldForceSelection = Browser.isMac ? event.altKey : event.shiftKey;
|
||||||
|
|
||||||
if (!shouldForceSelection) {
|
if (!shouldForceSelection) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user