Fix redraw after closing GIF preview
All checks were successful
Release App / release-app (push) Successful in 1m0s

This commit is contained in:
2026-04-26 13:00:57 +03:00
parent c2c9560e07
commit 395d45a4e8

View File

@@ -85,6 +85,10 @@ void App::shutdown_curses() {
}
void App::draw() {
if (!attachment_viewer_open_ && !saved_animation_menu_open_) {
clear_attachment_preview_graphics();
}
erase();
int height = 0;
@@ -175,8 +179,6 @@ void App::draw() {
draw_forward_target_menu(height, width);
} else if (help_menu_open_) {
draw_help_menu(height, width);
} else {
clear_attachment_preview_graphics();
}
}