Skip to content

Commit

Permalink
Fix empty memlet tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
tbennun committed Nov 28, 2023
1 parent 1f44437 commit 749dcde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/renderer_elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ export class Memlet extends Edge {
const dsettings = renderer.view_settings();
const attr = this.attributes();

if (attr.subset === null || attr.subset === undefined) { // Empty memlet
if (attr.data === null || attr.data === undefined) { // Empty memlet
container.style.display = 'none';
return;
}
Expand Down

0 comments on commit 749dcde

Please sign in to comment.