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:
@@ -403,9 +403,7 @@ OpenLayers.Renderer.Canvas = OpenLayers.Class(OpenLayers.Renderer, {
|
|||||||
for(var i=0; i<features.length; ++i) {
|
for(var i=0; i<features.length; ++i) {
|
||||||
delete this.features[features[i].id];
|
delete this.features[features[i].id];
|
||||||
}
|
}
|
||||||
if (!this.locked) {
|
|
||||||
this.redraw();
|
this.redraw();
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user