Skip to content

Commit

Permalink
Round Fuse slider constrainValue to nearest 0.5 instead of nearest …
Browse files Browse the repository at this point in the history
…1, see #662
  • Loading branch information
samreid committed Feb 16, 2021
1 parent 256193e commit 7525473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/view/CircuitElementEditContainerNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ class CircuitElementEditContainerNode extends Node {
delta: NORMAL_TWEAKER_DELTA,

sliderOptions: {
constrainValue: value => Utils.roundToInterval( value, NORMAL_SLIDER_KNOB_DELTA )
constrainValue: value => Utils.roundToInterval( value, 0.5 )
}
}
);
Expand Down

0 comments on commit 7525473

Please sign in to comment.