mirror of
https://github.com/jspsych/jsPsych.git
synced 2025-05-10 19:20:55 +00:00
fix image position in example
This commit is contained in:
parent
bb7b3f0570
commit
82cbd46a44
@ -50,7 +50,7 @@
|
|||||||
ctx.drawImage(img1, 0, 0, 90, 90);
|
ctx.drawImage(img1, 0, 0, 90, 90);
|
||||||
}, false);
|
}, false);
|
||||||
img2.addEventListener('load', function() {
|
img2.addEventListener('load', function() {
|
||||||
ctx.drawImage(img2, 500, 600, 90, 90);
|
ctx.drawImage(img2, 400, 400, 90, 90);
|
||||||
}, false);
|
}, false);
|
||||||
img3.addEventListener('load', function() {
|
img3.addEventListener('load', function() {
|
||||||
ctx.drawImage(img3, 300, 100, 90, 90);
|
ctx.drawImage(img3, 300, 100, 90, 90);
|
||||||
|
Loading…
Reference in New Issue
Block a user