Skip to content

Commit

Permalink
chore: hide connection outline
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme committed Aug 10, 2023
1 parent 56e2f4c commit 71aa81a
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions lib/features/outline/Outline.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,20 @@ export default function Outline(eventBus, styles) {
self.updateShapeOutline(outline, element);
});

eventBus.on([ 'connection.added', 'connection.changed' ], function(event) {
var element = event.element,
gfx = event.gfx;
console.log('foobar outline');

var outline = domQuery('.djs-outline', gfx);
// eventBus.on([ 'connection.added', 'connection.changed' ], function(event) {
// var element = event.element,
// gfx = event.gfx;

if (!outline) {
outline = createOutline(gfx, element);
}
// var outline = domQuery('.djs-outline', gfx);

self.updateConnectionOutline(outline, element);
});
// if (!outline) {
// outline = createOutline(gfx, element);
// }

// self.updateConnectionOutline(outline, element);
// });
}


Expand Down

0 comments on commit 71aa81a

Please sign in to comment.