- more small fixes.

This commit is contained in:
Tercio
2015-04-06 18:24:19 -03:00
parent c5dab8e316
commit 12299f1a0a
10 changed files with 63 additions and 10 deletions
@@ -305,6 +305,20 @@ local function CreatePluginFrames (data)
EncounterDetails:SetTutorialCVar ("ENCOUNTER_DETAILS_TUTORIAL2", true)
EncounterDetails:ButtonsTutorial()
end
--select latest emote segment
Details_EncounterDetailsEmotesSegmentDropdown.MyObject:Select (1)
Details_EncounterDetailsEmotesSegmentDropdown.MyObject:Refresh()
FauxScrollFrame_SetOffset (EncounterDetails_EmoteScroll, 0)
EncounterDetails:SetEmoteSegment (1)
EncounterDetails_EmoteScroll:Update()
if (EncounterDetailsFrame.ShowType ~= "emotes") then
--hide emote frames
for _, widget in pairs (EncounterDetails.Frame.EmoteWidgets) do
widget:Hide()
end
end
return true
end
@@ -856,7 +870,7 @@ function EncounterDetails:OpenAndRefresh (_, segment)
end
EncounterDetails.update_enemy_spells()
end
EncounterDetails.LastSegmentShown = _combat_object
-------------- set boss name and zone name --------------
@@ -1490,6 +1490,10 @@ do
scrollframe:Update()
end
function EncounterDetails:SetEmoteSegment (segment)
emote_segment = segment
end
local segment_icon = [[Interface\AddOns\Details\images\icons]]
local segment_icon_coord = {0.7373046875, 0.9912109375, 0.6416015625, 0.7978515625}
local segment_icon_color = {1, 1, 1, 0.5}
@@ -648,7 +648,7 @@ local runes_id = {
focus_aug2:SetText (n)
local bigger = math.max (amount1, amount2, amount3, amount4, amount5, amount6)
local bigger = math.max (amount1, amount2, amount3, amount4, amount5, amount6, amount7)
show_panel:SetHeight (100 + (bigger * 10))
end
@@ -216,7 +216,7 @@ local blackrock_foundry = {
},
[8] = {
boss = "Kromog, Legend of the Mountain",
boss = "Kromog",
portrait = [[Interface\ENCOUNTERJOURNAL\UI-EJ-BOSS-Kromog]],
--> spell list