Skip to content

Commit a7653ed

Browse files
committed
update to fix localizer script
1 parent 241ef89 commit a7653ed

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drawFixationCross.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function drawFixationCross(cfg, color)
44
Screen('DrawLines', ...
55
cfg.screen.win, ...
66
cfg.allCoords, ...
7-
cfg.lineWidthPix, ...
7+
cfg.fixation.lineWidthPix, ...
88
color, ...
99
[cfg.screen.center(1) cfg.screen.center(2)], 1);
1010

initPTB.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,15 @@
5959
% monitor width
6060
% This assumes that the window fills the whole screen
6161
cfg.screen.FOV = computeFOV(cfg);
62-
cfg.screen.ppd = cfg.winRect(3) / cfg.FOV;
62+
cfg.screen.ppd = cfg.screen.winRect(3) / cfg.screen.FOV;
6363

6464
%% Select specific text font, style and size
6565
initText(cfg);
6666

6767
%% Timing
6868
% Query frame duration
69-
cfg.screen.ifi = Screen('GetFlipInterval', cfg.win);
70-
cfg.screen.monRefresh = 1 / cfg.ifi;
69+
cfg.screen.ifi = Screen('GetFlipInterval', cfg.screen.win);
70+
cfg.screen.monitorRefresh = 1 / cfg.screen.ifi;
7171

7272
% Set priority for script execution to realtime priority:
7373
Priority(MaxPriority(cfg.screen.win));

0 commit comments

Comments
 (0)