Browse Source

Merge pull request #19069 from Gllloria/patch-1

Examples /misc/controls/transform: Change wrong keyup (Ctrl, 17) to Shift(16)
Mr.doob 5 years ago
parent
commit
1551cf9874
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/misc_controls_transform.html

+ 1 - 1
examples/misc_controls_transform.html

@@ -133,7 +133,7 @@
 
 
 					switch ( event.keyCode ) {
 					switch ( event.keyCode ) {
 
 
-						case 17: // Ctrl
+						case 16: // Shift
 							control.setTranslationSnap( null );
 							control.setTranslationSnap( null );
 							control.setRotationSnap( null );
 							control.setRotationSnap( null );
 							control.setScaleSnap( null );
 							control.setScaleSnap( null );