combopoints: custom width and height

based on: https://github.com/shagu/pfUI/pull/1493
This commit is contained in:
shagu
2025-05-22 08:39:27 +02:00
parent b1a9601a99
commit 0ee660fd81
3 changed files with 20 additions and 7 deletions
+12 -1
View File
@@ -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