Fix image-filter example using right postrender events

This commit is contained in:
Florent gravin
2018-11-16 09:59:23 +01:00
committed by Tim Schaub
parent c5b7c5febb
commit 160e9e8056
2 changed files with 4 additions and 4 deletions

View File

@@ -90,9 +90,9 @@ select.onchange = function() {
/**
* Apply a filter on "postcompose" events.
* Apply a filter on "postrender" events.
*/
imagery.on('postcompose', function(event) {
imagery.on('postrender', function(event) {
convolve(event.context, selectedKernel);
});