Prevent crazy selector boxes for groups in WebKit - still problems in Opera
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1089 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -421,7 +421,7 @@ function BatchCommand(text) {
|
||||
offset += 2/canvas.getZoom();
|
||||
}
|
||||
var bbox = canvas.getBBox(selected);
|
||||
if(selected.tagName == 'g') {
|
||||
if(!isWebkit && selected.tagName == 'g') {
|
||||
// The bbox for a group does not include stroke vals, so we
|
||||
// get the bbox based on its children.
|
||||
var stroked_bbox = canvas.getStrokedBBox(selected.childNodes);
|
||||
|
||||
Reference in New Issue
Block a user