Fix redraw after closing GIF preview
All checks were successful
Release App / release-app (push) Successful in 1m0s
All checks were successful
Release App / release-app (push) Successful in 1m0s
This commit is contained in:
@@ -85,6 +85,10 @@ void App::shutdown_curses() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void App::draw() {
|
void App::draw() {
|
||||||
|
if (!attachment_viewer_open_ && !saved_animation_menu_open_) {
|
||||||
|
clear_attachment_preview_graphics();
|
||||||
|
}
|
||||||
|
|
||||||
erase();
|
erase();
|
||||||
|
|
||||||
int height = 0;
|
int height = 0;
|
||||||
@@ -175,8 +179,6 @@ void App::draw() {
|
|||||||
draw_forward_target_menu(height, width);
|
draw_forward_target_menu(height, width);
|
||||||
} else if (help_menu_open_) {
|
} else if (help_menu_open_) {
|
||||||
draw_help_menu(height, width);
|
draw_help_menu(height, width);
|
||||||
} else {
|
|
||||||
clear_attachment_preview_graphics();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user