PennController for IBEX › Forums › Support › inserting getEyetracker start and stop into the code › Reply To: inserting getEyetracker start and stop into the code
March 14, 2023 at 7:21 am
#10385
Keymaster
There seems to be a bug with printing to a Canvas element in a default command. So take out the print from the defaultImage command (defaultImage.size(1280,720)) and add the print command to each Image element instead:
newImage("image0", row.Static_image1).print(0,0,getCanvas("imageContainer")),
// ...
newImage("image1", row.action_image).print(0,0,getCanvas("imageContainer")),
// and so on
Jeremy