Only trigger change event if animating a tile transition
This commit is contained in:
@@ -862,8 +862,10 @@ class RasterSource extends ImageSource {
|
||||
this.dispatchEvent(
|
||||
new RasterSourceEvent(RasterEventType.AFTEROPERATIONS, frameState, data)
|
||||
);
|
||||
if (frameState.animate) {
|
||||
requestAnimationFrame(this.changed.bind(this));
|
||||
}
|
||||
}
|
||||
|
||||
disposeInternal() {
|
||||
if (this.processor_) {
|
||||
|
||||
Reference in New Issue
Block a user