Fix image distortion when switching between screens

This commit is contained in:
Sergei Grechanik 2023-02-20 19:46:25 -08:00
parent fbfb779a19
commit 6edf145b73

View File

@ -977,6 +977,7 @@ screen_toggle_screen_buffer(Screen *self, bool save_cursor, bool clear_alt_scree
} }
screen_history_scroll(self, SCROLL_FULL, false); screen_history_scroll(self, SCROLL_FULL, false);
self->is_dirty = true; self->is_dirty = true;
self->grman->layers_dirty = true;
clear_selection(&self->selections); clear_selection(&self->selections);
global_state.check_for_active_animated_images = true; global_state.check_for_active_animated_images = true;
} }