|
@@ -1373,7 +1373,7 @@ def draw_counter(COUNTER):
|
|
|
|
|
|
k = "SIZE"
|
|
|
if k in count:
|
|
|
- csize = int(count[k])
|
|
|
+ csize = int(count[k])
|
|
|
if csize < 5:
|
|
|
csize = 5
|
|
|
|
|
@@ -1390,7 +1390,7 @@ def draw_counter(COUNTER):
|
|
|
|
|
|
ddim = cdim/255
|
|
|
if "DIM" in count and count["DIM"] > 0:
|
|
|
- tmp_font = pygame.font.SysFont("freemonobold",int(block[0]/100*csize))
|
|
|
+ tmp_font = pygame.font.SysFont("freemonobold",int(p/100*csize))
|
|
|
rgb =(int(cr*ddim),int(cg*ddim),int(cb*ddim),cdim)
|
|
|
|
|
|
_sec = count["_SEC"]
|
|
@@ -1411,7 +1411,7 @@ def draw_counter(COUNTER):
|
|
|
else:
|
|
|
fr = tmp_font.render("{}".format((count["_SEC"])) ,1, rgb)
|
|
|
|
|
|
- fr_r = fr.get_rect(center=(60+cpan-(block[0]),60+ctilt+pm_wy))
|
|
|
+ fr_r = fr.get_rect(center=(40+cpan-(block[0]),60+ctilt+pm_wy))
|
|
|
pygame.draw.rect(window,[0,0,0],fr_r)
|
|
|
window.blit(fr,fr_r)
|
|
|
|