mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-05 08:50:43 +00:00
Menu height extended
This commit is contained in:
parent
fe51a1797d
commit
9b482837d8
@ -1,6 +1,6 @@
|
|||||||
::ng-deep .mat-menu-panel {
|
::ng-deep .mat-menu-panel {
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
max-height: 400px;
|
max-height: 500px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.menu {
|
.menu {
|
||||||
|
@ -77,8 +77,8 @@ export class TemplateComponent implements OnInit {
|
|||||||
template: template,
|
template: template,
|
||||||
server: 'local',
|
server: 'local',
|
||||||
numberOfNodes: 1,
|
numberOfNodes: 1,
|
||||||
x: this.startX + ev.x - this.project.scene_width/2 - (width/2) + window.scrollX ,
|
x: (this.startX + ev.x - this.project.scene_width/2 - (width/2)) * scale + window.scrollX ,
|
||||||
y: this.startY + ev.y - this.project.scene_height/2 + window.scrollY
|
y: (this.startY + ev.y - this.project.scene_height/2) * scale + window.scrollY
|
||||||
};
|
};
|
||||||
this.onNodeCreation.emit(nodeAddedEvent);
|
this.onNodeCreation.emit(nodeAddedEvent);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user