mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-31 23:47:28 -08:00
fix output label positions
This commit is contained in:
parent
85fc869d88
commit
c1a9e263e6
|
@ -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,
|
||||||
|
|
|
@ -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', {
|
||||||
|
|
Loading…
Reference in a new issue