Fix out of screen drawings (#842)
* Fix lock screen menu * Fix pin setup in lock menu * Desktop GUI layer on FS, black status bar * Desktop: fix spelling * Fix first start screen * Fix status bar drawing Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -54,8 +54,10 @@ void desktop_scene_main_on_enter(void* context) {
|
||||
desktop_animation_activate(desktop->animation);
|
||||
desktop_animation_set_animation_changed_callback(
|
||||
desktop->animation, desktop_scene_main_animation_changed_callback, desktop);
|
||||
const Icon* icon = desktop_animation_get_animation(desktop->animation);
|
||||
desktop_main_switch_dolphin_animation(desktop->main_view, icon);
|
||||
bool status_bar_background_black = false;
|
||||
const Icon* icon =
|
||||
desktop_animation_get_animation(desktop->animation, &status_bar_background_black);
|
||||
desktop_main_switch_dolphin_animation(desktop->main_view, icon, status_bar_background_black);
|
||||
view_dispatcher_switch_to_view(desktop->view_dispatcher, DesktopViewMain);
|
||||
}
|
||||
|
||||
@@ -92,8 +94,11 @@ bool desktop_scene_main_on_event(void* context, SceneManagerEvent event) {
|
||||
break;
|
||||
|
||||
case DesktopMainEventUpdateAnimation: {
|
||||
const Icon* icon = desktop_animation_get_animation(desktop->animation);
|
||||
desktop_main_switch_dolphin_animation(desktop->main_view, icon);
|
||||
bool status_bar_background_black = false;
|
||||
const Icon* icon =
|
||||
desktop_animation_get_animation(desktop->animation, &status_bar_background_black);
|
||||
desktop_main_switch_dolphin_animation(
|
||||
desktop->main_view, icon, status_bar_background_black);
|
||||
consumed = true;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user