From 5ce59294d192e1983b87a7270c2df2bb34a42c34 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Wed, 10 Feb 2010 21:12:43 +0000 Subject: [PATCH] Spoke too soon, with canvas drop-shadow on, zooming in Opera 10.10 causes immense slow-down git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1375 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index 312e09f8..316d565a 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -682,9 +682,9 @@ function BatchCommand(text) { 'stroke-width': 1, 'stroke': '#000', 'fill': '#FFF', - 'filter': 'url(#canvashadow)', 'style': 'pointer-events:none' }); + if (!window.opera) rect.setAttribute('filter', 'url(#canvashadow)'); canvasbg.appendChild(rect); svgroot.insertBefore(canvasbg, svgcontent); };