Skip to content

Commit

Permalink
[minimap] adjust "unknown" scaling factor
Browse files Browse the repository at this point in the history
  • Loading branch information
wilson0x4d committed Sep 19, 2019
1 parent 2242b38 commit c650948
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions X4D_Core/X4D_Cartography.lua
Expand Up @@ -69,6 +69,7 @@ local _currentLocationName

local _mapScaleOverrides = {
["map:stonefallsoutlawrefuge_base"] = 0.35,
["map:morkhazgur_base"] = 0.5,
}
local DEFAULT_MINIMAP_SCALE = 0.25
local function X4D_Cartography_GetMapScale(mapIndex)
Expand Down
4 changes: 2 additions & 2 deletions X4D_LibStub/X4D_LibStub.lua
Expand Up @@ -12,7 +12,7 @@ local function ParseVersionString(s)
end
local major, minor, patch = nil, nil, nil
for match in (s.."."):gmatch('(%d-)%.') do
local s = tostring(match)
local s = tostring(match)
if (s:len() > 0) then
if (major == nil) then
major = tonumber(s)
Expand All @@ -21,7 +21,7 @@ local function ParseVersionString(s)
else
patch = tonumber(s)
end
end
end
end
return major or 0, minor or 0, patch or 0
end
Expand Down
2 changes: 1 addition & 1 deletion X4D_MiniMap/X4D_MiniMap.lua
Expand Up @@ -55,7 +55,7 @@ local _pins = { } -- 'pins' are a subset of 'active pips', it may be less than t
local _npcTypeToTextureLookup = {
["UNKNOWN"] = {
Icon = "esoui/art/progression/progression_tabicon_backup_active.dds",
ScalingFactor = 0.25
ScalingFactor = 0.5
},

-- NPCs
Expand Down

0 comments on commit c650948

Please sign in to comment.