fix: windows Unable to hold down ctrl multiple selection

This commit is contained in:
shanhexi
2024-01-09 21:12:27 +08:00
parent 3a67d96053
commit e526e81f58

View File

@ -32,7 +32,7 @@ const useMultipleSelect = (props: {
if (event.keyCode === 16) {
isShiftDownRef.current = true;
}
if (event.keyCode === 91) {
if (event.keyCode === 91 || event.keyCode === 17) {
isCmdDownRef.current = true;
}
};