Skip to content

Commit

Permalink
super simple fix for #10
Browse files Browse the repository at this point in the history
  • Loading branch information
alucard87pl committed Aug 1, 2019
1 parent a895f92 commit a59e63c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/comps/Ring.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ export class Ring extends Component {
max={19}
step={1}
defaultValue={0}
value={this.state.gatePos}
value={
this.state.gatePos > 19 ? this.state.gatePos - 39 : this.state.gatePos
}
disabled
/>
);
Expand Down

0 comments on commit a59e63c

Please sign in to comment.