Set grid-snapping preferences in Document Properties dialogue.

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1711 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jacques Distler 2010-09-10 17:40:46 +00:00
parent d7c30bb45d
commit 354e5ce9fb
1 changed files with 6 additions and 0 deletions

View File

@ -2511,6 +2511,12 @@
if(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();
};