Skip to content

Commit

Permalink
Defer minimap update when shape changed
Browse files Browse the repository at this point in the history
  • Loading branch information
est31 committed Jun 30, 2015
1 parent 842579e commit 370a336
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/minimap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ void Mapper::toggleMinimapShape()
{
data->minimap_shape_round = !data->minimap_shape_round;
g_settings->setBool(("minimap_shape_round"), data->minimap_shape_round);
m_minimap_update_thread->deferUpdate();
}

void Mapper::setMinimapMode(MinimapMode mode)
Expand Down

0 comments on commit 370a336

Please sign in to comment.