Merge pull request from huffman/fix/orbit-duplicate

BUGZ-1184: Fix create duplication key conflicting with camera orbit
This commit is contained in:
Shannon Romano 2019-08-08 14:42:12 -07:00 committed by GitHub
commit 9b4c1dbe0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -355,7 +355,7 @@ CameraManager = function() {
return;
}
if (event.isRightButton || (event.isLeftButton && event.isControl && !event.isShifted)) {
if (event.isRightButton || (event.isLeftButton && event.isAlt && !event.isShifted)) {
that.mode = MODE_ORBIT;
} else if (event.isMiddleButton || (event.isLeftButton && event.isControl && event.isShifted)) {
that.mode = MODE_PAN;