Closed jaysuk closed 3 years ago
Good morning, and thanks a lot for your contribution! I've been meaning to fix the code, but haven't had the time. And yes, we shouldn't rely on a firmware fix to cover bad code! 😄
Unfortunately, David's code suggestion causes some layout issues on the bottom of the screen.
This snippet fixes the crashing issue and still looks good. If you replace the temperature section with this, I'd be glad to merge your PR.
Basically, it moves the horizontal line and nozzle icon up a pixel, but still keeps the right and left formatting of the temperature numbers, which caused issues on DC42's code.
; --------------- Temperatures ---------------
image R52 C0 L"imgs/hline.img"
; Bed Temperature
image R53 C5 L"imgs/bed.img"
value H2 N180
text T"/"
value N80
; Hotend Temperature
image R53 L"imgs/temp.img"
value H2 N100
text T"/"
value N0
Thanks! Jadon
Just updated it as requested
Thanks a lot! I've just merged it and will file a new release soon.
makes the changes recommended by dc42, rather than relying on a firmware fix