Closed lesamouraipourpre closed 3 years ago
I probably added it optimistically. (It would really help speed up scrolls in one direction.) In almost all cases I've looked at, the orientation is wrong. We can remove it in 7.0.0 if no libraries use it. We can always add it back if we start using it.
Against the Adafruit bundle:
> grep -r set_vertical_scroll * | sort
libraries/drivers/displayio_sh1106/adafruit_displayio_sh1106.py: set_vertical_scroll=0xD3, # TBD -- not sure about this one!
libraries/drivers/displayio_sh1107/adafruit_displayio_sh1107.py: set_vertical_scroll=0xD3, # TBD -- not sure about this one!
libraries/drivers/displayio_ssd1305/adafruit_displayio_ssd1305.py: set_vertical_scroll=0xD3,
libraries/drivers/displayio_ssd1306/adafruit_displayio_ssd1306.py: set_vertical_scroll=0xD3,
libraries/drivers/ssd1322/adafruit_ssd1322.py: set_vertical_scroll=0xD3,
libraries/drivers/ssd1325/adafruit_ssd1325.py: set_vertical_scroll=0xD3,
If you are happy enough to remove it, I can do PRs for these 6 libraries.
Yes, let's mark it as deprecated and ignored in 7.0, then remove it from the core in 8.
As far as I can tell the
set_vertical_scroll
parameter in the Display constructor is not used.Should it be removed?