Don't check this.locked twince. r=euzuro (Closes #1712)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@7914 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2008-09-01 06:02:54 +00:00
parent be8c90012e
commit 274cd26c5a

View File

@@ -403,9 +403,7 @@ OpenLayers.Renderer.Canvas = OpenLayers.Class(OpenLayers.Renderer, {
for(var i=0; i<features.length; ++i) {
delete this.features[features[i].id];
}
if (!this.locked) {
this.redraw();
}
this.redraw();
},
/**