Update SVG-Edit

Hyperlinking, among other new features.
This commit is contained in:
Jacques Distler 2011-01-31 22:15:28 -06:00
parent 7d3f9db8f0
commit a12a778c5a
85 changed files with 15637 additions and 10749 deletions

View file

@ -9,15 +9,13 @@
// Dependencies:
// 1) jQuery
// 2) browsersupport.js
// 2) browser.js
// 3) math.js
// 4) svgutils.js
(function() {
var svgedit = svgedit || {};
if (!window.svgedit) {
window.svgedit = {};
}
(function() {
if (!svgedit.select) {
svgedit.select = {};
@ -383,7 +381,7 @@ svgedit.select.SelectorManager.prototype.initGroup = function() {
'height': dims[1],
'x': 0,
'y': 0,
'overflow': (svgedit.browsersupport.isWebkit() ? 'none' : 'visible'), // Chrome 7 has a problem with this when zooming out
'overflow': (svgedit.browser.isWebkit() ? 'none' : 'visible'), // Chrome 7 has a problem with this when zooming out
'style': 'pointer-events:none'
}
});
@ -404,7 +402,7 @@ svgedit.select.SelectorManager.prototype.initGroup = function() {
// Both Firefox and WebKit are too slow with this filter region (especially at higher
// zoom levels) and Opera has at least one bug
// if (!svgedit.browsersupport.isOpera()) rect.setAttribute('filter', 'url(#canvashadow)');
// if (!svgedit.browser.isOpera()) rect.setAttribute('filter', 'url(#canvashadow)');
canvasbg.appendChild(rect);
svgFactory_.svgRoot().insertBefore(canvasbg, svgFactory_.svgContent());
};