[Display Layout] Snap to grid toolbar toggle button (#2262)

* Add a  button in the toolbar to toggle snapp to grid.

* Convert item's coordinates and size from grid unit to pixels depending on useGrid value.

* Rename selectionListener to removeSelectionListener
This commit is contained in:
Pegah Sarram
2019-01-17 09:24:59 -08:00
committed by Pete Richards
parent 6b1e8862ef
commit 931871ff95
8 changed files with 83 additions and 7 deletions

View File

@@ -99,6 +99,7 @@
fill: "",
color: "",
size: "13px",
useGrid: true
};
},
inject: ['openmct'],