summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/resources/shared/js/cr/ui/list_selection_controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/resources/shared/js/cr/ui/list_selection_controller.js b/chrome/browser/resources/shared/js/cr/ui/list_selection_controller.js
index 3697c9d..72aada6 100644
--- a/chrome/browser/resources/shared/js/cr/ui/list_selection_controller.js
+++ b/chrome/browser/resources/shared/js/cr/ui/list_selection_controller.js
@@ -137,7 +137,8 @@ cr.define('cr.ui', function() {
if (sm.multiple)
sm.unselectAll();
} else {
- if (sm.multiple && (cr.isMac ? e.metaKey : e.ctrlKey)) {
+ if (sm.multiple && (cr.isMac ? e.metaKey :
+ (e.ctrlKey && !e.shiftKey))) {
// Selection is handled at mouseUp on windows/linux, mouseDown on mac.
if (cr.isMac? isDown : !isDown) {
// toggle the current one and make it anchor index