Skip to content

Commit

Permalink
Fix visibiliy of clock on remove or connecting wires
Browse files Browse the repository at this point in the history
  • Loading branch information
cavearr committed Jan 10, 2025
1 parent e78762a commit 187e0b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions app/scripts/graphics/joint.shapes.js
Original file line number Diff line number Diff line change
Expand Up @@ -2246,7 +2246,7 @@ joint.shapes.ice.CodeView = joint.shapes.ice.ModelView.extend({
});
}
}

// Render rules
if (data && data.ports && data.ports.in) {
tokId = "port-default-" + modelId + "-";
Expand Down Expand Up @@ -2894,7 +2894,6 @@ joint.shapes.ice.WireView = joint.dia.LinkView.extend({
function (label, idx) {
if(typeof idx === 'undefined' || idx === null || idx===false){

console.log('IDX NULL');
}
var labelNode = labelNodeInstance.clone().node;
V(labelNode).attr("label-idx", idx);
Expand Down
3 changes: 2 additions & 1 deletion app/scripts/services/graph.js
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ function isElementInViewport(elementBBox, viewport) {
break;
}
}
paper.findViewByModel(block.id).updateBox();
paper.findViewByModel(block.id).updateBox(true);
}
}
}
Expand Down Expand Up @@ -1387,6 +1387,7 @@ function isElementInViewport(elementBBox, viewport) {
};

this.removeSelected = function () {
console.log('RemoveSelected');
if (hasSelection()) {
graph.removeCells(selection.models);
selectionView.cancelSelection();
Expand Down

0 comments on commit 187e0b8

Please sign in to comment.