(self)
| 3311 | # this controls the statistics which display upon completion of a session. |
| 3312 | class AnalysisLabel: |
| 3313 | def __init__(self): |
| 3314 | self.label = pyglet.text.Label( |
| 3315 | '', |
| 3316 | font_size=calc_fontsize(14), |
| 3317 | color=cfg.COLOR_TEXT, |
| 3318 | x=width_center(), y=from_bottom_edge(92), |
| 3319 | anchor_x='center', anchor_y='center', batch=batch) |
| 3320 | self.update() |
| 3321 | |
| 3322 | def update(self, skip=False): |
| 3323 | if mode.started or mode.session_number == 0 or skip: |
nothing calls this directly
no test coverage detected