Skip to content

Commit

Permalink
Fixed overclocking applying improperly when out of min-max range
Browse files Browse the repository at this point in the history
  • Loading branch information
andev0 committed Aug 22, 2024
1 parent 7c64337 commit 3ce471b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sankey/NodeConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,11 @@ export class NodeConfiguration extends EventTarget

if (value < 1)
{
overclock.value = "1";
this.setOverclockRatio(1 / 100);
}
else if (value > 250)
{
overclock.value = "250";
this.setOverclockRatio(250 / 100);
}
else
{
Expand Down

0 comments on commit 3ce471b

Please sign in to comment.