diff Modules/WorldState.lua @ 97:5476337198ec

- apply default anchors when docking modules - Arifact Power tracker: totals AP items in bags and bank, and forecasts progress on each weapon. Requires user to shift-click each weapon at least once to get initial XP data.
author Nenue
date Mon, 16 Jan 2017 20:24:12 -0500
parents bb38bc0e787f
children dadddb8a551f
line wrap: on
line diff
--- a/Modules/WorldState.lua	Tue Jan 03 14:06:41 2017 -0500
+++ b/Modules/WorldState.lua	Mon Jan 16 20:24:12 2017 -0500
@@ -4,6 +4,7 @@
 -- %file-revision%
 --
 
+local print = DEVIAN_WORKSPACE and function(...) print('VnWorldState', ...) end or nop
 local WorldStateBlockMixin = {}
 VeneerOrderHallMixin = {
   anchorPoint = 'TOP',
@@ -13,8 +14,8 @@
   addonTrigger = 'Blizzard_OrderHallUI',
   addonFrame = 'OrderHallCommandBar',
 }
+
 VeneerWorldStateHeadsUpMixin = {
-
 }
 
 VeneerWorldStateCurrencyMixin = {
@@ -27,7 +28,6 @@
   detectedFrames = {},
   anchorPoint = 'TOP',
 }
-local print = DEVIAN_WORKSPACE and function(...) print('VnWorldState', ...) end or nop
 
 function VeneerWorldStateMixin:Reset()
   for i, frame in ipairs(self.modules) do
@@ -86,6 +86,7 @@
 function VeneerWorldStateMixin:OnEvent(event, arg)
   print(event, arg)
   if event == 'PLAYER_ENTERING_WORLD' then
+    self:Show()
     self:Update()
   elseif event == 'PLAYER_REGEN_ENABLED' then
     self:SetShown(true)