Skip to content

Commit 8bbc775

Browse files
committed
add fixation cross to practice
1 parent a74a156 commit 8bbc775

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tasks/flanker/instruct.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def Instruct(self, config, lang="E"):
205205
Background = Image(source = config.BACKGROUND_IMAGE, size = (self.exp.screen.size[0] * 1.1,
206206
self.exp.screen.size[1] * 1.1),
207207
allow_stretch = True, keep_ratio = False, blocking = False)
208+
fix = Label(text='+', color=config.CROSS_COLOR,
209+
font_size=s(config.CROSS_FONTSIZE), blocking = False)
208210
Ellipse(color='red', size=(s(55),s(55)),
209211
center_x=self.exp.screen.center_x + prac_ev.current[2]*s(config.FROM_CENTER),
210212
center_y=self.exp.screen.center_y + prac_ev.current[3]*s(config.FROM_CENTER),
@@ -275,6 +277,9 @@ def Instruct(self, config, lang="E"):
275277
Background = Image(source = config.BACKGROUND_IMAGE, size = (self.exp.screen.size[0] * 1.1,
276278
self.exp.screen.size[1] * 1.1),
277279
allow_stretch = True, keep_ratio = False, blocking = False)
280+
fix = Label(text='+', color=config.CROSS_COLOR,
281+
font_size=s(config.CROSS_FONTSIZE),
282+
blocking=False)
278283
p5 = Trial(config, direct=prac_ev.current[0],
279284
center_x=self.exp.screen.center_x + prac_ev.current[2]*s(config.FROM_CENTER),
280285
center_y=self.exp.screen.center_y + prac_ev.current[3]*s(config.FROM_CENTER),

0 commit comments

Comments
 (0)