Skip to content

Commit ae4b3af

Browse files
committed
fix real width fixation
1 parent ed51eef commit ae4b3af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

initFixation.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
cfg.fixation = degToPix('yDisplacement', cfg.fixation, cfg);
99

1010
% Prepare fixation cross
11-
cfg.fixation.xCoords = [-cfg.fixation.widthPix cfg.fixation.widthPix 0 0] + ...
11+
cfg.fixation.xCoords = [-cfg.fixation.widthPix cfg.fixation.widthPix 0 0]/2 + ...
1212
cfg.fixation.xDisplacementPix;
13-
cfg.fixation.yCoords = [0 0 -cfg.fixation.widthPix cfg.fixation.widthPix] + ...
13+
cfg.fixation.yCoords = [0 0 -cfg.fixation.widthPix cfg.fixation.widthPix]/2 + ...
1414
cfg.fixation.yDisplacementPix;
1515
cfg.fixation.allCoords = [cfg.fixation.xCoords; cfg.fixation.yCoords];
1616

0 commit comments

Comments
 (0)