(self)
| 3223 | # this controls the "press space to begin session #" text. |
| 3224 | class SpaceLabel: |
| 3225 | def __init__(self): |
| 3226 | self.label = pyglet.text.Label( |
| 3227 | '', |
| 3228 | font_size=calc_fontsize(16), |
| 3229 | bold=True, |
| 3230 | color=(32, 32, 255, 255), |
| 3231 | x=width_center(), y=from_bottom_edge(62), |
| 3232 | anchor_x='center', anchor_y='center', batch=batch) |
| 3233 | self.update() |
| 3234 | def update(self): |
| 3235 | if mode.started: |
| 3236 | self.label.text = '' |
nothing calls this directly
no test coverage detected