From f4f0fb4fc5f5bf14e28332f8ed772e57e7cc0213 Mon Sep 17 00:00:00 2001 From: msawired Date: Mon, 2 Oct 2023 10:56:28 +0200 Subject: [PATCH] bug: OPC.slider was missing .step variable setting --- opc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opc.js b/opc.js index 8028c17..842bebc 100644 --- a/opc.js +++ b/opc.js @@ -12,7 +12,7 @@ class OPC { value = variableNameOrConfig.value; min = variableNameOrConfig.min ?? min; max = variableNameOrConfig.max ?? max; - step = variableNameOrConfig ?? step; + step = variableNameOrConfig.step ?? step; label = variableNameOrConfig.label; description = variableNameOrConfig.description; } else {