Browse Source

Editor: Increased numbers precision to 3.

Mr.doob 1 year ago
parent
commit
b50d098eb7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      editor/js/libs/ui.js

+ 2 - 2
editor/js/libs/ui.js

@@ -434,7 +434,7 @@ class UICheckbox extends UIElement {
 			// Workaround for TransformControls blocking events in Viewport.Controls checkboxes
 
 			event.stopPropagation();
-		
+
 		} );
 
 		this.setValue( boolean );
@@ -533,7 +533,7 @@ class UINumber extends UIElement {
 		this.min = - Infinity;
 		this.max = Infinity;
 
-		this.precision = 2;
+		this.precision = 3;
 		this.step = 1;
 		this.unit = '';
 		this.nudge = 0.01;