Skip to content

Commit

Permalink
Fix for State opacity (#853)
Browse files Browse the repository at this point in the history
  • Loading branch information
evolvedexperiment authored Aug 3, 2022
1 parent 3064961 commit 4000c95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@
</tr>
</tbody>

<tbody id="styleOpacity" style="display: block">
<tbody id="styleOpacity" style="display: none">
<tr data-tip="Set opacity. 0: transparent, 1: solid">
<td>Opacity</td>
<td>
Expand Down
2 changes: 1 addition & 1 deletion modules/ui/style.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4000c95

Please sign in to comment.