fix output label positions

This commit is contained in:
Mutasem 2021-10-28 17:17:50 +02:00
parent 85fc869d88
commit c1a9e263e6
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ export const nodeBase = mixins(
['Label', ['Label',
{ {
id: 'input-name-label', id: 'input-name-label',
location: [-2, 0.5], location: [-3, 0.5],
label: nodeTypeData.inputNames[index], label: nodeTypeData.inputNames[index],
cssClass: 'node-input-endpoint-label', cssClass: 'node-input-endpoint-label',
visible: true, visible: true,

View file

@ -1601,7 +1601,7 @@ export default mixins(
const inputNameOverlay = info.targetEndpoint.getOverlay('input-name-label'); const inputNameOverlay = info.targetEndpoint.getOverlay('input-name-label');
if (inputNameOverlay) { if (inputNameOverlay) {
inputNameOverlay.setLocation([-4, .5]); inputNameOverlay.setLocation([-4.5, .5]);
} }
this.$store.commit('addConnection', { this.$store.commit('addConnection', {