reset location

This commit is contained in:
Mutasem 2021-10-28 17:23:47 +02:00
parent 2e6eb8394a
commit cd9dab31b2

View file

@ -1673,7 +1673,8 @@ export default mixins(
this.instance.bind('connectionDetached', (info) => {
const inputNameOverlay = info.targetEndpoint.getOverlay('input-name-label');
if (inputNameOverlay) {
inputNameOverlay.setLocation([-2, .5]);
// todo
inputNameOverlay.setLocation([-3, .5]);
}
updateConnectionDetach(info.sourceEndpoint, info.targetEndpoint, 1);