We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92ed0a commit cdb8808Copy full SHA for cdb8808
subfun/preTrialSetup.m
@@ -34,8 +34,13 @@
34
35
thisEvent.fixationPosition = cfg.design.blockFixationPosition{iBlock};
36
37
+ % This is necessary because where the dot aperture is drawn is set in cfg
38
+ % So we "reset" that pixel value from the value in degrees
39
cfg.aperture.xPos = cfg.design.xDisplacementAperture;
40
cfg.aperture = degToPix('xPos', cfg.aperture, cfg);
41
+ if isfield(cfg.fixation, 'xDisplacementPix')
42
+ cfg.aperture.xPosPix = cfg.aperture.xPosPix + cfg.fixation.xDisplacementPix;
43
+ end
44
45
switch thisEvent.fixationPosition
46
0 commit comments