This commit is contained in:
Bunny67
2020-11-15 23:43:10 +03:00
parent ca4a2660ec
commit 7cbc40c959
70 changed files with 7175 additions and 3055 deletions
+19
View File
@@ -928,5 +928,24 @@ function Private.Modernize(data)
data.ignoreOptionsEventErrors = true
end
if data.internalVersion < 39 then
if data.regionType == 'icon' or data.regionType == 'aurabar' then
if data.auto then
data.iconSource = -1
else
data.iconSource = 0
end
end
end
if data.internalVersion < 40 then
data.information = data.information or {}
if data.regionType == 'group' then
data.information.groupOffset = true
end
data.information.ignoreOptionsEventErrors = data.ignoreOptionsEventErrors
data.ignoreOptionsEventErrors = nil
end
data.internalVersion = max(data.internalVersion or 0, WeakAuras.InternalVersion());
end