diff options
author | Graham Northup <grissess@nexusg.org> | 2018-09-06 04:35:39 -0400 |
---|---|---|
committer | Graham Northup <grissess@nexusg.org> | 2018-09-06 04:35:39 -0400 |
commit | 3730b7720ad65865c1731c72df662a2b1f0c7de5 (patch) | |
tree | 3a1e6f5317e8c96ae0c0f8e179abd4f60d3e04c3 | |
parent | cdb4bba35a69be9f5e245d3c6c81e11818a546c2 (diff) |
Increase display accuracy
-rw-r--r-- | client.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -185,7 +185,7 @@ def pygame_notes(): disp.blit(bgrwin, (0, 0)) disp.blit(sampwin, (BGR_WIDTH, 0)) if QUEUED_PCM: - tsurf = font.render('%08.6f'%(DRIFT_FACTOR,), True, (255, 255, 255), (0, 0, 0)) + tsurf = font.render('%+011.6g'%(DRIFT_FACTOR - 1,), True, (255, 255, 255), (0, 0, 0)) disp.fill((0, 0, 0), tsurf.get_rect()) disp.blit(tsurf, (0, 0)) pygame.display.flip() |