fix vertical position

This commit is contained in:
Mutasem 2021-10-18 17:23:44 +02:00
parent 9e144c891b
commit ecc85a17a8

View file

@ -1363,6 +1363,7 @@ export default mixins(
itemsOverlay.setVisible(false); itemsOverlay.setVisible(false);
} }
}); });
info.connection.bind('mouseout', (connection: IConnection) => { info.connection.bind('mouseout', (connection: IConnection) => {
timer = setTimeout(() => { timer = setTimeout(() => {
const overlay = info.connection.getOverlay('connection-actions'); const overlay = info.connection.getOverlay('connection-actions');
@ -1378,7 +1379,6 @@ export default mixins(
}, 500); }, 500);
}); });
// @ts-ignore // @ts-ignore
info.connection.addOverlay([ info.connection.addOverlay([
'Label', 'Label',
@ -2609,6 +2609,7 @@ export default mixins(
justify-content: center; justify-content: center;
position: absolute; position: absolute;
top: -12px;
&.add { &.add {
right: 4px; right: 4px;