-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove set_vertical_scroll
from displayio
#5189
Comments
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?
The text was updated successfully, but these errors were encountered: