fixed canvas select examples issue

This commit is contained in:
Abubakar Abid 2021-02-19 16:37:24 -06:00
parent d24988454e
commit 7f1af90936

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(){