Default coords

Added 0 display for uninitialized coord values
pull/3476/head
hstaab 6 years ago committed by GitHub
parent 5b4758f0f8
commit 6316b3eeed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,12 +12,12 @@
<div style="position: absolute; right: 1em;">
<label>
<h3>stiffness ({coords.stiffness})</h3>
<h3>stiffness ({coords.stiffness || 0})</h3>
<input bind:value={coords.stiffness} type="range" min="0" max="1" step="0.01">
</label>
<label>
<h3>damping ({coords.damping})</h3>
<h3>damping ({coords.damping || 0})</h3>
<input bind:value={coords.damping} type="range" min="0" max="1" step="0.01">
</label>
</div>

Loading…
Cancel
Save