mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
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:
parent
abd04cb870
commit
68ca63ec14
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ export const actionChangeOpacity: Action = {
|
||||||
type="range"
|
type="range"
|
||||||
min="0"
|
min="0"
|
||||||
max="100"
|
max="100"
|
||||||
|
step="10"
|
||||||
onChange={e => updateData(+e.target.value)}
|
onChange={e => updateData(+e.target.value)}
|
||||||
value={
|
value={
|
||||||
getFormValue(
|
getFormValue(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue