Pārlūkot izejas kodu

Correct wrong keyup (Ctrl, 17) to Shift(16)

Should snap to grid while pressing Shift, therefore Shift keyup should disable snapping.
Gllloria 5 gadi atpakaļ
vecāks
revīzija
ad01cf9930
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      examples/misc_controls_transform.html

+ 1 - 1
examples/misc_controls_transform.html

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