Skip to content

Commit

Permalink
feat: remove WeatherLayer#playVideo
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove `canvas.fxmaster.playVideo`, use
`canvas.specials.playVideo` instead.
  • Loading branch information
ghost91- committed Dec 12, 2021
1 parent 13bb168 commit 399b4dd
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/module/weatherEffects/WeatherLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,4 @@ export class WeatherLayer extends CanvasLayer {
this.weatherEffects[id].fx[method](val);
});
}

/*
** Migration
** TODO: Remove next version
*/
playVideo(...args) {
console.warn("DEPRECATED: canvas.fxmaster.playVideo will be removed soon. Please use canvas.specials.playVideo");
canvas.specials.playVideo(...args);
}
}

0 comments on commit 399b4dd

Please sign in to comment.