mirror of
https://github.com/infinition/Bjorn.git
synced 2026-01-21 13:55:58 +00:00
Fixed frise after testing
This commit is contained in:
@@ -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)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user