try to fix multi-display reset
This commit is contained in:
parent
60e12c5c1d
commit
8bf94d03e4
@ -439,8 +439,10 @@ void reset_display(displayio_display_obj_t *self) {
|
||||
circuitpython_splash.x = 0; // reset position in case someone moved it.
|
||||
circuitpython_splash.y = 0;
|
||||
supervisor_start_terminal(self->core.width, self->core.height);
|
||||
if (!circuitpython_splash.in_group) {
|
||||
common_hal_displayio_display_set_root_group(self, &circuitpython_splash);
|
||||
}
|
||||
}
|
||||
|
||||
void displayio_display_collect_ptrs(displayio_display_obj_t *self) {
|
||||
displayio_display_core_collect_ptrs(&self->core);
|
||||
|
Loading…
Reference in New Issue
Block a user