Exposed grid snapping setting on svgCanvas
parent
bd55ce3bf5
commit
d8dae76d3a
|
@ -5505,6 +5505,11 @@ var getResolution = this.getResolution = function() {
|
||||||
// Returns the current zoom level
|
// Returns the current zoom level
|
||||||
this.getZoom = function(){return current_zoom;};
|
this.getZoom = function(){return current_zoom;};
|
||||||
|
|
||||||
|
// Function: getSnapToGrid
|
||||||
|
// Returns the current snap to grid setting
|
||||||
|
this.getSnapToGrid = function(){return curConfig.gridSnapping;};
|
||||||
|
|
||||||
|
|
||||||
// Function: getVersion
|
// Function: getVersion
|
||||||
// Returns a string which describes the revision number of SvgCanvas.
|
// Returns a string which describes the revision number of SvgCanvas.
|
||||||
this.getVersion = function() {
|
this.getVersion = function() {
|
||||||
|
|
Loading…
Reference in New Issue