mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-17 02:42:10 +08:00
fix sidebar shadow in network settings (#1245)
This commit is contained in:
@@ -877,11 +877,14 @@ static void ui_draw_blank(UIState *s) {
|
||||
}
|
||||
|
||||
void ui_draw(UIState *s) {
|
||||
ui_draw_sidebar(s);
|
||||
if (s->vision_connected && s->active_app == cereal_UiLayoutState_App_home && s->status != STATUS_STOPPED) {
|
||||
ui_draw_sidebar(s);
|
||||
ui_draw_vision(s);
|
||||
} else {
|
||||
ui_draw_blank(s);
|
||||
if (!s->scene.uilayout_sidebarcollapsed) {
|
||||
ui_draw_sidebar(s);
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user