(self)
| 3205 | |
| 3206 | class ThresholdLabel: |
| 3207 | def __init__(self): |
| 3208 | self.label = pyglet.text.Label( |
| 3209 | '', |
| 3210 | multiline = True, width = scale_to_width(128), |
| 3211 | font_size=calc_fontsize(11), |
| 3212 | color=cfg.COLOR_TEXT, |
| 3213 | x=from_right_edge(20), y=from_bottom_edge(145), |
| 3214 | anchor_x='right', anchor_y='top', batch=batch) |
| 3215 | self.update() |
| 3216 | def update(self): |
| 3217 | if mode.started or mode.manual or CLINICAL_MODE: |
| 3218 | self.label.text = '' |
nothing calls this directly
no test coverage detected