Remove experimental drop-shadow for now as it slowed down the editor, especially at higher zoom levels (might look into CSS3 box-shadow one day)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1399 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2010-02-17 15:12:08 +00:00
parent 8a516e109c
commit 19d9998743
1 changed files with 3 additions and 1 deletions

View File

@ -684,7 +684,9 @@ function BatchCommand(text) {
'fill': '#FFF',
'style': 'pointer-events:none'
});
if (!window.opera) rect.setAttribute('filter', 'url(#canvashadow)');
// Both Firefox and WebKit are too slow with this filter region (especially at higher
// zoom levels) and Opera has at least one bug
// if (!window.opera) rect.setAttribute('filter', 'url(#canvashadow)');
canvasbg.appendChild(rect);
svgroot.insertBefore(canvasbg, svgcontent);
};