From 68ca63ec142f516914d23fac84234c458be507cc Mon Sep 17 00:00:00 2001 From: Christopher Chedeau Date: Sun, 2 Feb 2020 17:09:50 -0800 Subject: [PATCH] Add step for opacity slider (#670) Instead of freeform, let's only support 10 increments of opacity. Should help keep things consistent --- src/actions/actionProperties.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/actions/actionProperties.tsx b/src/actions/actionProperties.tsx index 9ace6dc5..69af2cd2 100644 --- a/src/actions/actionProperties.tsx +++ b/src/actions/actionProperties.tsx @@ -218,6 +218,7 @@ export const actionChangeOpacity: Action = { type="range" min="0" max="100" + step="10" onChange={e => updateData(+e.target.value)} value={ getFormValue(