fixed canvas select examples issue

This commit is contained in:
Abubakar Abid 2021-02-19 16:37:24 -06:00
parent 84e3581375
commit b9ecd5355b

View File

@ -256,7 +256,7 @@ const image_input = {
toDataURL(example_data, function(data) {
if (io.source == "canvas") {
io.clear();
let ctx = this.context;
let ctx = io.context;
var img = new Image;
let dimension = io.target.find(".canvas_holder canvas").width();
img.onload = function(){