Skip to content

Commit

Permalink
hide eydropper for masks
Browse files Browse the repository at this point in the history
  • Loading branch information
thejohnhoffer committed May 9, 2024
1 parent 88828ba commit 8b2ec83
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions render.js
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,9 @@ Render.prototype = {
let text_col = ['text-dark', 'text-dark', ''][shown_idx];
if (group_index === -1) text_col = '';
colorize_ico.style.cssText = ['', '', text_hide][shown_idx];
if (mask_index != -1) {
colorize_ico.style.cssText = text_hide;
}
colorize_ico.className = `fa fa-eye-dropper ${text_col}`;
colorize.appendChild(colorize_ico);

Expand Down

0 comments on commit 8b2ec83

Please sign in to comment.