Closed 0x5e closed 7 years ago
Hello, when I try to fillFlood, I get this error:
[Error] TypeError: ctx.fillFlood is not a function. (In 'ctx.fillFlood(offsetX, offsetY, 32)', 'ctx.fillFlood' is undefined)
< CanvasRenderingContext2D {webkitLineDash: [], strokeStyle: "#000000", fillStyle: "#000000", globalAlpha: 1, globalCompositeOperation: "source-over", …} > typeof CanvasRenderingContext2D < "object"
if (typeof CanvasRenderingContext2D === 'function') { CanvasRenderingContext2D.prototype.fillFlood = fillContext; };
Tested on iPhone6, iOS 9.3.3
Hi @0x5e thanks for the fix! Very much appreciated.
@binarymax thank you too, this project really solved my problem :)
Hello, when I try to fillFlood, I get this error:
Tested on iPhone6, iOS 9.3.3