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-75d572ba1dddmaster
parent
6abaf4c712
commit
2668d9f49a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue