Skip to content

Commit 28a77c0

Browse files
committed
mh fix
1 parent 6061353 commit 28a77c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/aperture/apertureTexture.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
% We let the stimulus through
9393
Screen('FillOval', cfg.aperture.texture, TRANSPARENT, ...
94-
CenterRect(...
94+
CenterRect( ...
9595
[0, 0, repmat(cfg.screen.winRect(4), 1, 2)], ...
9696
cfg.screen.winRect));
9797

@@ -120,18 +120,18 @@
120120
case 'draw'
121121

122122
if strcmp(cfg.aperture.type, 'bar')
123-
123+
124124
scalingFactor = 1;
125-
if isfield(cfg, 'scalingFactor') && ~isempty(cfg.scalingFactor)
125+
if isfield(cfg, 'scalingFactor') && ~isempty(cfg.scalingFactor)
126126
scalingFactor = cfg.scalingFactor;
127127
end
128-
128+
129129
% Draw aperture and we rotate to match the required condition
130130
Screen('DrawTexture', cfg.screen.win, cfg.aperture.texture, ...
131131
cfg.screen.winRect, ...
132132
CenterRect(cfg.screen.winRect * scalingFactor, cfg.screen.winRect), ...
133133
thisEvent.condition - 90);
134-
134+
135135
else
136136

137137
Screen('DrawTexture', cfg.screen.win, cfg.aperture.texture);
@@ -193,4 +193,4 @@
193193

194194
end
195195

196-
end
196+
end

0 commit comments

Comments
 (0)