Skip to content

Commit

Permalink
Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
pythongosssss committed Aug 4, 2024
1 parent 2236726 commit 1561f09
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/scripts/domWidget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,8 @@ LGraphCanvas.prototype.computeVisibleNodes = function (): LGraphNode[] {
if (elementWidgets.has(node)) {
const hidden = visibleNodes.indexOf(node) === -1
for (const w of node.widgets) {
// @ts-expect-error
if (w.element) {
// @ts-expect-error
w.element.hidden = hidden
// @ts-expect-error
w.element.style.display = hidden ? 'none' : undefined
if (hidden) {
w.options.onHide?.(w)
Expand Down

0 comments on commit 1561f09

Please sign in to comment.