small layout update
This commit is contained in:
		
							parent
							
								
									a9ea1e4d2a
								
							
						
					
					
						commit
						7100dcea8b
					
				| @ -28,7 +28,7 @@ def display_loop(api: Api, cfg: Dict): | ||||
|         bg = Image.new("RGB", (d.height, d.width), (0, 0, 0)) | ||||
|         d.ShowImage(bg) | ||||
| 
 | ||||
|         Font0 = ImageFont.truetype("Font/GothamBold.ttf", 13) | ||||
|         Font0 = ImageFont.truetype("Font/GothamBold.ttf", 14) | ||||
|         Font1 = ImageFont.truetype("Font/GothamMedium.ttf", 18) | ||||
|         Font1b = ImageFont.truetype("Font/GothamBold.ttf", 19) | ||||
|         Font2 = ImageFont.truetype("Font/GothamMedium.ttf", 20) | ||||
| @ -165,10 +165,10 @@ def display_loop(api: Api, cfg: Dict): | ||||
|                     *divmod(data["duration_ms"] // 1000, 60) | ||||
|                 ) | ||||
|                 draw.rectangle( | ||||
|                     [(238, 218), (320, 238)], fill=cfg["color_theme"]["background"] | ||||
|                     [(237, 218), (320, 238)], fill=cfg["color_theme"]["background"] | ||||
|                 ) | ||||
|                 draw.text( | ||||
|                     (240, 224), | ||||
|                     (238, 223), | ||||
|                     f"{f_current_time}/{f_total_time}", | ||||
|                     font=Font0, | ||||
|                     fill=cfg["color_theme"]["text"], | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user