Skip to content

Commit 370a336

Browse files
committed
Defer minimap update when shape changed
1 parent 842579e commit 370a336

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/minimap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ void Mapper::toggleMinimapShape()
273273
{
274274
data->minimap_shape_round = !data->minimap_shape_round;
275275
g_settings->setBool(("minimap_shape_round"), data->minimap_shape_round);
276+
m_minimap_update_thread->deferUpdate();
276277
}
277278

278279
void Mapper::setMinimapMode(MinimapMode mode)

0 commit comments

Comments
 (0)