Fix for State opacity

This commit is contained in:
Evolvedexperiment 2022-08-03 16:27:08 +00:00
parent 3064961c59
commit d4b4be5d1a
2 changed files with 2 additions and 2 deletions

View file

@ -292,7 +292,7 @@ styleGroupSelect.addEventListener("change", selectStyleElement);
function getEl() {
const el = styleElementSelect.value;
const g = styleGroupSelect.value;
if (g === el) return svg.select("#" + el);
if (g === el || g === "") return svg.select("#" + el);
else return svg.select("#" + el).select("#" + g);
}