mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 23:14:47 +00:00
editor: don't redraw entire screen when switching contexts
This commit is contained in:
parent
2ee1cf3cc0
commit
86746aaaf0
@ -174,7 +174,8 @@ void context_manager::refresh_all()
|
||||
{
|
||||
gui_.rebuild_all();
|
||||
get_map_context().set_needs_terrain_rebuild(false);
|
||||
gui_.redraw_everything();
|
||||
gui_.invalidate_all();
|
||||
gui_.draw(false);
|
||||
get_map_context().clear_changed_locations();
|
||||
gui_.recalculate_minimap();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user