Dont redraw pin if they haven't moved

merge-requests/256/head
Tag 2022-11-27 14:46:46 -08:00
rodzic 8d0eb92004
commit e3d18d7e9d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -313,7 +313,7 @@ function gtChatUpdateCall(jsmesg)
{
g_gtFlagPins[cid].ids[id] = true;
// Did they move grid location?
if (g_gtFlagPins[cid].pin != null)
if (jsmesg.grid != g_gtFlagPins[cid].grid && g_gtFlagPins[cid].pin != null)
{
// remove pin from map here
if (g_layerSources.gtflags.hasFeature(g_gtFlagPins[cid].pin))