diff --git a/display.py b/display.py index cab3173..3967299 100644 --- a/display.py +++ b/display.py @@ -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)))