Skip to content

Commit

Permalink
Reapply 86746aa
Browse files Browse the repository at this point in the history
This reduces flickering in the editor
  • Loading branch information
Vultraz committed Feb 28, 2016
1 parent bdac437 commit d39bbc2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/editor/map/context_manager.cpp
Expand Up @@ -175,7 +175,8 @@ void context_manager::refresh_all()
gui_.rebuild_all();
get_map_context().set_needs_terrain_rebuild(false);
gui_.create_buttons();
gui_.redraw_everything();
gui_.invalidate_all();
gui_.draw(false);
get_map_context().clear_changed_locations();
gui_.recalculate_minimap();
}
Expand Down

0 comments on commit d39bbc2

Please sign in to comment.