From 370a33686ac6ce731c989bcd513aa351666ab5ae Mon Sep 17 00:00:00 2001 From: est31 Date: Tue, 30 Jun 2015 21:14:28 +0200 Subject: [PATCH] Defer minimap update when shape changed --- src/minimap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/minimap.cpp b/src/minimap.cpp index 8fe8b466d..b26f8c665 100644 --- a/src/minimap.cpp +++ b/src/minimap.cpp @@ -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) -- 2.25.1