mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
combopoints: custom width and height
based on: https://github.com/shagu/pfUI/pull/1493
This commit is contained in:
+12
-1
@@ -219,7 +219,8 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("unitframes", nil, "druidmanaheight", "2")
|
||||
pfUI:UpdateConfig("unitframes", nil, "druidmanatext", "0")
|
||||
pfUI:UpdateConfig("unitframes", nil, "rangechecki", "4")
|
||||
pfUI:UpdateConfig("unitframes", nil, "combosize", "6")
|
||||
pfUI:UpdateConfig("unitframes", nil, "combowidth", "6")
|
||||
pfUI:UpdateConfig("unitframes", nil, "comboheight", "6")
|
||||
pfUI:UpdateConfig("unitframes", nil, "abbrevnum", "1")
|
||||
pfUI:UpdateConfig("unitframes", nil, "abbrevname", "1")
|
||||
|
||||
@@ -1248,5 +1249,15 @@ function pfUI:MigrateConfig()
|
||||
end
|
||||
end
|
||||
|
||||
-- migrate combopoint size to separate settings
|
||||
if checkversion(5, 4, 18) then
|
||||
if pfUI_config.unitframes.combosize then
|
||||
pfUI_config.unitframes.combowidth = pfUI_config.unitframes.combosize
|
||||
pfUI_config.unitframes.comboheight = pfUI_config.unitframes.combosize
|
||||
pfUI_config.unitframes.combosize = nil
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
pfUI_config.version = pfUI.version.string
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user