WIP WYSIWYG ~3D SVG editor.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Round properties to 2 decimal places.

+1 -1
+1 -1
input-enhancements.js
··· 38 38 const dx = event.screenX - this.startX; 39 39 const dy = event.screenY - this.startY; 40 40 let step = this.input.step ? parseFloat(this.input.step) : 1; 41 - this.input.valueAsNumber = this.startValue + dy * 0.1 * step * -1; 41 + this.input.valueAsNumber = Math.round( this.startValue + dy * -0.1 * step * 100 ) / 100; 42 42 43 43 // Manually fire input event since updating it programmatically won't. 44 44 const inputEvent = new Event('input', {