Skip to content

Commit

Permalink
colorpicker alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
pandrr committed Nov 16, 2023
1 parent a044d9c commit 0699863
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/components/opparampanel/params_listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ class ParamsListener extends CABLES.EventTarget
ele.byId("portval_" + (idx + 1) + "_" + panelid),
ele.byId("portval_" + (idx + 2) + "_" + panelid)
];
if (ele.byId("portval_" + (idx + 3) + "_" + panelid).dataset.portname.toLowerCase() == "a")
const eleA = ele.byId("portval_" + (idx + 3) + "_" + panelid);
if (eleA && eleA.dataset.portname.toLowerCase() == "a")
{
inputElements.push(ele.byId("portval_" + (idx + 3) + "_" + panelid));
console.log("found alpha");
Expand Down

0 comments on commit 0699863

Please sign in to comment.