(self)
| 3530 | |
| 3531 | class TrialsRemainingLabel: |
| 3532 | def __init__(self): |
| 3533 | self.label = pyglet.text.Label( |
| 3534 | '', |
| 3535 | font_size=calc_fontsize(12), bold = True, |
| 3536 | color=cfg.COLOR_TEXT, |
| 3537 | x=from_right_edge(10), y=from_top_edge(5), |
| 3538 | anchor_x='right', anchor_y='top', batch=batch) |
| 3539 | self.update() |
| 3540 | def update(self): |
| 3541 | if (not mode.started) or mode.hide_text: |
| 3542 | self.label.text = '' |
nothing calls this directly
no test coverage detected