forked from Mirrorlandia_minetest/minetest
Defer minimap update when shape changed
This commit is contained in:
parent
842579eb8c
commit
370a33686a
@ -273,6 +273,7 @@ void Mapper::toggleMinimapShape()
|
|||||||
{
|
{
|
||||||
data->minimap_shape_round = !data->minimap_shape_round;
|
data->minimap_shape_round = !data->minimap_shape_round;
|
||||||
g_settings->setBool(("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)
|
void Mapper::setMinimapMode(MinimapMode mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user