Always dispatch change events on load/opacity/visible changes

This commit is contained in:
Tom Payne
2013-01-24 23:37:20 +01:00
parent 43fe004917
commit 4701d117f7
3 changed files with 9 additions and 51 deletions

View File

@@ -140,22 +140,6 @@ ol.renderer.webgl.Layer.prototype.handleLayerHueChange = function() {
};
/**
* @inheritDoc
*/
ol.renderer.webgl.Layer.prototype.handleLayerLoad = function() {
this.dispatchChangeEvent();
};
/**
* @inheritDoc
*/
ol.renderer.webgl.Layer.prototype.handleLayerOpacityChange = function() {
this.dispatchChangeEvent();
};
/**
* @inheritDoc
*/
@@ -167,14 +151,6 @@ ol.renderer.webgl.Layer.prototype.handleLayerSaturationChange = function() {
};
/**
* @inheritDoc
*/
ol.renderer.webgl.Layer.prototype.handleLayerVisibleChange = function() {
this.dispatchChangeEvent();
};
/**
* Handle webglcontextlost.
*/