It seems to happen inside the function LWMinimap.ShowMinimap()
In line 32 the WorldMap is shown:
Code:
ZO_WorldMap:SetHidden(false)
Try to replace the function LWMinimap.ShowMinimap() with this code and have a look if this fixes the problem:
Lua Code:
function LWMinimap.ShowMinimap()
if(SetMapToPlayerLocation() == SET_MAP_RESULT_MAP_CHANGED) then
CALLBACK_MANAGER:FireCallbacks("OnWorldMapChanged")
end
ZO_WorldMap:SetDimensions(unpack(LWMinimap.settings.size))
ZO_WorldMapScroll:SetDimensions(ZO_WorldMap:GetDimensions())
if LWMinimap.settings.anchor then
ZO_WorldMap:ClearAnchors()
ZO_WorldMap:SetAnchor( LWMinimap.UnpackAnchor(LWMinimap.settings.anchor) )
end
ZO_WorldMapZoom:SetHidden(true)
ZO_WorldMapZoomKeybind:SetHidden(true)
--ZO_WorldMap:SetHidden(false)
ZO_WorldMapTitle:SetHidden(true)
ZO_WorldMapTitle:ClearAnchors()
ZO_WorldMapTitle:SetAnchor(TOP, nil, TOP, 0, -30)
ZO_WorldMapTitleBar:SetHidden(false)
ZO_WorldMapTitleBar:SetMouseEnabled(true)
ZO_WorldMapTitleBar:ClearAnchors()
ZO_WorldMapTitleBar:SetAnchor(TOPLEFT, nil, TOPLEFT, 0, -30)
ZO_WorldMapTitleBar:SetAnchor(TOPRIGHT, nil, TOPRIGHT, 0, -30)
ZO_WorldMapContainer:SetHandler("OnUpdate", LWMinimap.OnUpdate)
LWMinimap.SetMapZoom(LWMinimap.settings.zoomout)
LWMinimap.SetToPlayer(false)
end