Set grid-snapping preferences in Document Properties dialogue.
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1711 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
d7c30bb45d
commit
354e5ce9fb
|
@ -2511,6 +2511,12 @@
|
||||||
if(url) {
|
if(url) {
|
||||||
$('#canvas_bg_url').val(url);
|
$('#canvas_bg_url').val(url);
|
||||||
}
|
}
|
||||||
|
$('grid_snapping_step').attr('value', curConfig.snappingStep);
|
||||||
|
if (curConfig.gridSnapping == true) {
|
||||||
|
$('#grid_snapping_on').attr('checked', 'checked');
|
||||||
|
} else {
|
||||||
|
$('#grid_snapping_on').removeAttr('checked');
|
||||||
|
}
|
||||||
|
|
||||||
$('#svg_docprops').fadeIn();
|
$('#svg_docprops').fadeIn();
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue