Framework update
This commit is contained in:
+4
-12
@@ -532,11 +532,9 @@ function Details:StartMeUp() --I'll never stop!
|
||||
end
|
||||
|
||||
if (DetailsFramework.IsTimewalkWoW()) then
|
||||
Details:Msg("TBC Beta Version: 0011")
|
||||
Details:Msg("TBC Beta Version: 0012")
|
||||
end
|
||||
|
||||
|
||||
|
||||
if (DetailsFramework.IsTBCWow()) then
|
||||
|
||||
local originalPosition
|
||||
@@ -551,9 +549,9 @@ function Details:StartMeUp() --I'll never stop!
|
||||
local warningMessage = taintWarning:CreateFontString (nil, "overlay", "GameFontNormal")
|
||||
warningMessage:SetText ("< right click and choose 'Enter Battle' if 'Enter Battle' button does not work")
|
||||
|
||||
C_Timer.NewTicker(12, function() -- default = 1
|
||||
if (StaticPopup1:IsShown()) then
|
||||
if (StaticPopup1.which == "CONFIRM_BATTLEFIELD_ENTRY") then
|
||||
C_Timer.NewTicker(3, function() -- default = 1
|
||||
if (StaticPopup1:IsShown() or StaticPopup2:IsShown()) then
|
||||
if (StaticPopup1.which == "ADDON_ACTION_FORBIDDEN" or (StaticPopup2 and StaticPopup2:IsShown() and StaticPopup2.which == "ADDON_ACTION_FORBIDDEN")) then
|
||||
|
||||
if (StaticPopup2:IsShown()) then
|
||||
if (StaticPopup2.which == "ADDON_ACTION_FORBIDDEN") then
|
||||
@@ -566,10 +564,6 @@ function Details:StartMeUp() --I'll never stop!
|
||||
if (MiniMapBattlefieldFrame:IsShown())then
|
||||
|
||||
if (not originalPosition) then
|
||||
--MiniMapBattlefieldFrame:Click('RightButton')
|
||||
--BattlefieldFrame_UpdateStatus(true)
|
||||
--ToggleDropDownMenu(1, nil, MiniMapBattlefieldDropDown, "MiniMapBattlefieldFrame", 10, -5);
|
||||
|
||||
local a = {}
|
||||
for i = 1, MiniMapBattlefieldFrame:GetNumPoints() do
|
||||
a[#a + 1] = {MiniMapBattlefieldFrame:GetPoint(i)}
|
||||
@@ -582,8 +576,6 @@ function Details:StartMeUp() --I'll never stop!
|
||||
warningMessage:SetPoint ("left", MiniMapBattlefieldFrame, "right", 9, 0)
|
||||
MiniMapBattlefieldFrame:SetFrameStrata("HIGH")
|
||||
|
||||
--
|
||||
|
||||
isOnOriginalPosition = false
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user