mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-06-20 15:40:29 +00:00
Button added
This commit is contained in:
@ -504,6 +504,10 @@ export class ProjectMapComponent implements OnInit, OnDestroy {
|
||||
this.mapChild.gridVisibility = this.gridVisibility ? 1 : 0;
|
||||
}
|
||||
|
||||
public toggleSnapToGrid(enabled: boolean) {
|
||||
this.project.snap_to_grid = enabled;
|
||||
}
|
||||
|
||||
private showMessage(msg) {
|
||||
if (this.notificationsVisibility) {
|
||||
if (msg.type === 'error') this.toasterService.error(msg.message);
|
||||
|
Reference in New Issue
Block a user