From 3ce471b312aa707e39e0412d57fdfd7934698d78 Mon Sep 17 00:00:00 2001 From: andev0 Date: Thu, 22 Aug 2024 23:03:06 +0200 Subject: [PATCH] Fixed overclocking applying improperly when out of min-max range --- src/Sankey/NodeConfiguration.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sankey/NodeConfiguration.ts b/src/Sankey/NodeConfiguration.ts index 7fa630c..fc846a6 100644 --- a/src/Sankey/NodeConfiguration.ts +++ b/src/Sankey/NodeConfiguration.ts @@ -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 {