Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix SVG-Edit bug 1048

  • Loading branch information...
commit 8d44ed618405dd0f07b08c7e36a5d149e9f86239 1 parent aa6c4e1
@distler distler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  public/svg-edit/editor/svgutils.js
View
2  public/svg-edit/editor/svgutils.js
@@ -495,7 +495,7 @@ svgedit.utilities.getBBox = function(elem) {
ret = groupBBFix(selected, true);
}
- if(elname === 'use') {
+ if(elname === 'use' || ( elname="foreignObject" && svgedit.browser.isWebkit() ) ) {
if(!ret) ret = selected.getBBox();
// This is resolved in later versions of webkit, perhaps we should
// have a featured detection for correct 'use' behavior?
Please sign in to comment.
Something went wrong with that request. Please try again.