Only stuff orphaned children into a layer if they have a bbox. Also remove some stray bits of logging left in

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@734 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-09-29 17:55:51 +00:00
parent c588d0d74d
commit d11818bec0
2 changed files with 1 additions and 3 deletions

View File

@@ -1228,7 +1228,6 @@ function svg_edit_setup() {
}
var centerCanvasIfNeeded = function() {
console.log('foo');
// this centers the canvas in the workarea if it's small enough
var wa = {w: parseInt($('#workarea').css('width')),
h: parseInt($('#workarea').css('height'))};