Fixed bug where showRulers=false wasn't hiding the rulers properly
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1906 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
4a6ae77ba2
commit
d3bfb4a46c
|
@ -4105,6 +4105,9 @@
|
|||
toggleSidePanel();
|
||||
}
|
||||
|
||||
$('#rulers').toggle(!!curConfig.showRulers);
|
||||
$('#show_rulers')[0].checked = curConfig.showRulers;
|
||||
|
||||
if(curConfig.gridSnapping) {
|
||||
$('#grid_snapping_on')[0].checked = true;
|
||||
}
|
||||
|
@ -4339,7 +4342,6 @@
|
|||
w_area[0].scrollLeft = new_ctr.x - w_orig/2;
|
||||
w_area[0].scrollTop = new_ctr.y - h_orig/2;
|
||||
}
|
||||
|
||||
if(curConfig.showRulers) {
|
||||
updateRulers(cnvs, zoom);
|
||||
workarea.scroll();
|
||||
|
|
Loading…
Reference in New Issue