Applying this logic to foreignObject leads to incorrect positioning of the grip for the element (displaced from its correct location by (x,y) ).
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2081 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -495,7 +495,7 @@ svgedit.utilities.getBBox = function(elem) {
|
||||
ret = groupBBFix(selected, true);
|
||||
}
|
||||
|
||||
if(elname === 'use' || elname === 'foreignObject') {
|
||||
if(elname === 'use') {
|
||||
if(!ret) ret = selected.getBBox();
|
||||
if(!svgedit.browser.isWebkit()) {
|
||||
var bb = {};
|
||||
|
||||
Reference in New Issue
Block a user