mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
b5fbe0b145
The controller of the 2.13" waveshare/ttgo epaper displays operates with a 128x250 buffer, while only 122x250 pixels are shown. While this can be ignored for rotations 0/270°, with roations 90/180°, 6 pixels are cut-off from the top or left edge. This change introduces a distinction between object width and controller width, resulting in pixel-perfect rotations.