Fix outpost icon. Make move box more reliable
Sasky [03-29-15 - 17:35]
Fix outpost icon. Make move box more reliable
diff --git a/CyrHUD.lua b/CyrHUD.lua
index 72d9edc..98f8676 100644
--- a/CyrHUD.lua
+++ b/CyrHUD.lua
@@ -112,6 +112,8 @@ function CyrHUD:printAll()
self:getUIRow(i):update(battle)
i = i + 1
end
+ --Fix since auto-resize doesn't seem to work well
+ self.ui:SetHeight(math.max(i*35,70))
for j=i,#self.entries do
self:hideRow(j)
end
@@ -267,7 +269,6 @@ function CyrHUD.addonInit()
--Create UI
self.ui = WINDOW_MANAGER:CreateTopLevelWindow("CyrHUD_UI")
self.ui:SetWidth(280)
- self.ui:SetResizeToFitDescendents(true)
self.ui:SetMouseEnabled(true)
self.ui:SetMovable(true)
self.ui:SetClampedToScreen(true)
diff --git a/CyrHUD.txt b/CyrHUD.txt
index 13f1be0..2b261ba 100644
--- a/CyrHUD.txt
+++ b/CyrHUD.txt
@@ -1,6 +1,6 @@
## APIVersion: 100011
## Title: CyrHUD
-## Version: 1.2.1
+## Version: 1.2.2
## Author: Sasky
## SavedVariables: CyrHUD_SavedVars
## OptionalDependsOn: LibAddonMenu-2.0
diff --git a/classes/Info.lua b/classes/Info.lua
index 67ff61d..716d767 100644
--- a/classes/Info.lua
+++ b/classes/Info.lua
@@ -61,7 +61,7 @@ CyrHUD.info[EP].opcolor = colors.green
CyrHUD.info[EP].flag = "/esoui/art/ava/ava_allianceflag_ebonheart.dds"
CyrHUD.icons = {}
CyrHUD.icons[KEEPTYPE_KEEP] = "/esoui/art/mappins/ava_largekeep_neutral.dds"
-CyrHUD.icons[KEEPTYPE_OUTPOST] = "/esoui/art/mappins/ava_largekeep_neutral.dds"
+CyrHUD.icons[KEEPTYPE_OUTPOST] = "/esoui/art/mappins/ava_outpost_neutral.dds"
CyrHUD.icons[10 + RESOURCETYPE_FOOD] = "/esoui/art/mappins/ava_farm_neutral.dds"
CyrHUD.icons[10 + RESOURCETYPE_ORE] = "/esoui/art/mappins/ava_mine_neutral.dds"
CyrHUD.icons[10 + RESOURCETYPE_WOOD] = "/esoui/art/mappins/ava_lumbermill_neutral.dds"