Skip to content

Commit

Permalink
Revert: allow sweep values to be identical
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebonnici committed Mar 22, 2024
1 parent 63cedee commit 5ed2aec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SidePanel/ChannelView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export default ({ paneName }: Props) => {
value={lowChannel}
range={bleChannelsValues.slice(
0,
bleChannelsValues.indexOf(highChannel)
bleChannelsValues.indexOf(highChannel) + 1
)}
disabled={isRunning}
onChange={newMinValue => {
Expand All @@ -125,7 +125,7 @@ export default ({ paneName }: Props) => {
<NumberInlineInput
value={highChannel}
range={bleChannelsValues.slice(
bleChannelsValues.indexOf(lowChannel) + 1
bleChannelsValues.indexOf(lowChannel)
)}
disabled={isRunning}
onChange={newMaxValue => {
Expand Down

0 comments on commit 5ed2aec

Please sign in to comment.