Commit 8c4f0805 authored by Azilroka's avatar Azilroka

4.14

parent 85c39a48
## Interface: 80100 ## Interface: 80100
## Title: |cff1784d1AddOnSkins|r ## Title: |cff1784d1AddOnSkins|r
## Version: 4.13 ## Version: 4.14
## Author: Azilroka, Whiro ## Author: Azilroka, Whiro
## SavedVariables: AddOnSkinsDB, AddOnSkinsDS ## SavedVariables: AddOnSkinsDB, AddOnSkinsDS
## OptionalDeps: ElvUI, Tukui ## OptionalDeps: ElvUI, Tukui
......
...@@ -496,17 +496,18 @@ function AS:CreateChangeLog() ...@@ -496,17 +496,18 @@ function AS:CreateChangeLog()
ChangeLogFrame.Changes = {} ChangeLogFrame.Changes = {}
local offset, i = 0, 0 local offset, i = 0, 0
for _, Change in pairs(AS.ChangeLog[AS.ProperVersion]) do
i, offset = i + 1, offset + 16 for _, Change in pairs(AS.ChangeLog[tostring(AS.ProperVersion or AS.Version)]) do
i, offset = i + 1, offset + 28
ChangeLogFrame.Changes[i] = ChangeLogFrame:CreateFontString(nil, 'OVERLAY') ChangeLogFrame.Changes[i] = ChangeLogFrame:CreateFontString(nil, 'OVERLAY')
ChangeLogFrame.Changes[i]:SetSize(375, 16) ChangeLogFrame.Changes[i]:SetSize(375, 28)
ChangeLogFrame.Changes[i]:SetFont(AS.Font, 14) ChangeLogFrame.Changes[i]:SetFont(AS.Font, 14)
ChangeLogFrame.Changes[i]:SetPoint("TOP", ChangeLogFrame.Title, "BOTTOM", 5, -offset) ChangeLogFrame.Changes[i]:SetPoint("TOP", ChangeLogFrame.Title, "BOTTOM", 5, -offset)
ChangeLogFrame.Changes[i]:SetText(Change) ChangeLogFrame.Changes[i]:SetText(Change)
ChangeLogFrame.Changes[i]:SetWordWrap(true) ChangeLogFrame.Changes[i]:SetWordWrap(true)
end end
ChangeLogFrame:SetSize(400, 100 + (i * 16)) ChangeLogFrame:SetSize(400, 100 + (i * 28))
AS.ChangeLogFrame = ChangeLogFrame AS.ChangeLogFrame = ChangeLogFrame
end end
......
...@@ -56,6 +56,10 @@ AS.ChangeLog = { ...@@ -56,6 +56,10 @@ AS.ChangeLog = {
['4.13'] = { ['4.13'] = {
'Added: Changelog Screen', 'Added: Changelog Screen',
'Updated: Ace3, AdiBags, Clique, Guild Roster Manager, Macro, Spell Book, Quest, TradeSkill, Talents', 'Updated: Ace3, AdiBags, Clique, Guild Roster Manager, Macro, Spell Book, Quest, TradeSkill, Talents',
},
['4.14'] = {
'Added: Changelog Screen',
'Updated: Ace3, AdiBags, Clique, Guild Roster Manager, Macro, Spell Book, Quest, TradeSkill, Talents',
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment