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 b2f7d65 commit 212c9caCopy full SHA for 212c9ca
subfun/preTrialSetup.m
@@ -12,6 +12,7 @@
12
thisEvent.direction = cfg.design.directions(iBlock, iEvent);
13
thisEvent.speedPix = cfg.design.speeds(iBlock, iEvent);
14
thisEvent.target = cfg.design.fixationTargets(iBlock, iEvent);
15
+ thisEvent.fixationPosition = cfg.design.blockFixationPosition{iBlock};
16
17
% If this frame shows a target we change the color of the cross
18
thisFixation.fixation = cfg.fixation;
@@ -28,7 +29,7 @@
28
29
30
thisEvent.dotCenterXPosPix = 0;
31
- switch thisEvent.trial_type
32
+ switch thisEvent.fixationPosition
33
case 'fixation_right'
34
cfg.aperture.xPosPix = -abs(cfg.aperture.xPosPix);
35
0 commit comments