clean LVGL objects on Window::clear()

This commit is contained in:
gagarinlg
2022-06-11 15:13:11 +02:00
committed by Raphael Coeffic
parent b71cfcd8eb
commit 0328ab4a5a
+2
View File
@@ -174,6 +174,8 @@ void Window::clear()
innerWidth = rect.w;
innerHeight = rect.h;
deleteChildren();
if(lvobj != nullptr)
lv_obj_clean(lvobj);
invalidate();
}