Add step for opacity slider (#670)

Instead of freeform, let's only support 10 increments of opacity. Should help keep things consistent
This commit is contained in:
Christopher Chedeau 2020-02-02 17:09:50 -08:00 committed by GitHub
parent abd04cb870
commit 68ca63ec14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,6 +218,7 @@ export const actionChangeOpacity: Action = {
type="range"
min="0"
max="100"
step="10"
onChange={e => updateData(+e.target.value)}
value={
getFormValue(