modules: make all modules aware of the new borders

This commit is contained in:
shagu
2019-12-18 18:40:40 +01:00
parent a75204540e
commit 3334c7469f
31 changed files with 70 additions and 143 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
pfUI:RegisterModule("unlock", "vanilla:tbc", function ()
local rawborder, default_border = GetBorderSize()
-- grouped frames
local clusters = {
-- Name Shift Ctrl
@@ -225,7 +227,7 @@ pfUI:RegisterModule("unlock", "vanilla:tbc", function ()
local frame = drag.frame
-- update dock position
SetAutoPoint(dock, drag, tonumber(pfUI_config.appearance.border.default)*2+2)
SetAutoPoint(dock, drag, default_border*2+2)
-- update dock entries
dock.title:SetText(drag.label)