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:
@@ -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'))};
|
||||
|
||||
Reference in New Issue
Block a user