瀏覽代碼

Add step for opacity slider (#670)

Instead of freeform, let's only support 10 increments of opacity. Should help keep things consistent
Christopher Chedeau 5 年之前
父節點
當前提交
68ca63ec14
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/actions/actionProperties.tsx

+ 1 - 0
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(