CanvasInterpolation has updated the order of the CSS properties so that crisp-edges comes after the browser prefix versions.

This commit is contained in:
Richard Davey 2019-10-01 14:43:26 +01:00
parent 342ad984ac
commit 38fb420cc4

View file

@ -22,7 +22,7 @@ var CanvasInterpolation = {
*/
setCrisp: function (canvas)
{
var types = [ 'optimizeSpeed', 'crisp-edges', '-moz-crisp-edges', '-webkit-optimize-contrast', 'optimize-contrast', 'pixelated' ];
var types = [ 'optimizeSpeed', '-moz-crisp-edges', '-o-crisp-edges', '-webkit-optimize-contrast', 'optimize-contrast', 'crisp-edges', 'pixelated' ];
types.forEach(function (type)
{