Fix image-filter example using right postrender events
This commit is contained in:
committed by
Tim Schaub
parent
c5b7c5febb
commit
160e9e8056
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user