Updated rotation to have 15 degree increments

This commit is contained in:
Mitchell McCaffrey 2021-02-07 17:25:29 +11:00
parent 76533852cd
commit 9f96145410

@ -220,15 +220,15 @@ function TokenMenu({
<Text <Text
as="label" as="label"
variant="body2" variant="body2"
sx={{ width: "95%", fontSize: "16px" }} sx={{ width: "65%", fontSize: "16px" }}
p={1} p={1}
> >
Rotation: Rotate:
</Text> </Text>
<Slider <Slider
value={(tokenState && tokenState.rotation) || 0} value={(tokenState && tokenState.rotation) || 0}
onChange={handleRotationChange} onChange={handleRotationChange}
step={45} step={15}
min={0} min={0}
max={360} max={360}
mr={1} mr={1}