mirror of
https://github.com/exogen/t2-mapper.git
synced 2026-04-29 00:05:51 +00:00
cleanup input handling, fix server move packets
This commit is contained in:
parent
409df9fcaa
commit
e9125951e4
84 changed files with 2085 additions and 1808 deletions
|
|
@ -170,12 +170,12 @@ export function InspectorControls({
|
|||
<input
|
||||
id="speedInput"
|
||||
type="range"
|
||||
min={0.1}
|
||||
max={5}
|
||||
step={0.05}
|
||||
value={speedMultiplier}
|
||||
min={1}
|
||||
max={100}
|
||||
step={1}
|
||||
value={Math.round(speedMultiplier * 100)}
|
||||
onChange={(event) =>
|
||||
setSpeedMultiplier(parseFloat(event.target.value))
|
||||
setSpeedMultiplier(parseFloat(event.target.value) / 100)
|
||||
}
|
||||
/>
|
||||
<p className={styles.Description}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue