Fixed frise after testing

This commit is contained in:
IncredibleZuess
2024-11-09 18:58:50 +02:00
parent 50c77e729d
commit 4c32dc1e2a

View File

@@ -316,9 +316,9 @@ class Display:
draw.text((int(35 * self.scale_factor_x), int(65 * self.scale_factor_y)), self.shared_data.bjornstatustext, font=self.shared_data.font_arial9, fill=0)
draw.text((int(35 * self.scale_factor_x), int(75 * self.scale_factor_y)), self.shared_data.bjornstatustext2, font=self.shared_data.font_arial9, fill=0)
#Gonna just roll with the bmp at the moment for the 2in7 display please replace with a resizable format
if (self.config["epd_type"]) == "epd2in7":
image.paste(self.shared_data.frise, (int(20 * self.scale_factor_x), int(160 * self.scale_factor_y)))
#Fix the frise for the 2in7 display
if self.config["epd_type"] == "epd2in7":
image.paste(self.shared_data.frise, (int(50 * self.scale_factor_x), int(160 * self.scale_factor_y)))
image.paste(self.shared_data.frise, (int(0 * self.scale_factor_x), int(160 * self.scale_factor_y)))