mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-06 21:50:00 +00:00
new module registry to warn players about new modules
This commit is contained in:
Vendored
+24
@@ -909,6 +909,30 @@ pfUI_profiles["Legacy"] = legacy
|
||||
pfUI_profiles["Adapta"] = adapta
|
||||
pfUI_profiles["Slim"] = slim
|
||||
|
||||
-- Default positions for new modules per profile.
|
||||
-- These are applied during firstrun so frames don't spawn in the center of screen.
|
||||
pfUI_profiles["Modern"].new_module_positions = {
|
||||
pfSwingTimerMainhand = { anchor = "BOTTOM", parent = "UIParent", xpos = -179, ypos = 91 },
|
||||
pfSwingTimerRanged = { anchor = "BOTTOM", parent = "UIParent", xpos = -179, ypos = 71 },
|
||||
pfMarkTracking = { anchor = "LEFT", parent = "UIParent", xpos = 4, ypos = 17 },
|
||||
}
|
||||
pfUI_profiles["Nostalgia"].new_module_positions = {
|
||||
pfSwingTimerMainhand = { anchor = "BOTTOM", parent = "UIParent", xpos = -295, ypos = 88 },
|
||||
pfSwingTimerRanged = { anchor = "BOTTOM", parent = "UIParent", xpos = -295, ypos = 68 },
|
||||
pfMarkTracking = { anchor = "LEFT", parent = "UIParent", xpos = 6, ypos = -19 },
|
||||
}
|
||||
pfUI_profiles["Legacy"].new_module_positions = {
|
||||
pfSwingTimerMainhand = { anchor = "BOTTOM", parent = "UIParent", xpos = 0, ypos = 248 },
|
||||
pfSwingTimerRanged = { anchor = "BOTTOM", parent = "UIParent", xpos = 0, ypos = 228 },
|
||||
pfMarkTracking = { anchor = "LEFT", parent = "UIParent", xpos = 4, ypos = -17 },
|
||||
}
|
||||
pfUI_profiles["Slim"].new_module_positions = {
|
||||
pfSwingTimerMainhand = { anchor = "BOTTOM", parent = "UIParent", xpos = -186, ypos = 92 },
|
||||
pfSwingTimerRanged = { anchor = "BOTTOM", parent = "UIParent", xpos = -186, ypos = 72 },
|
||||
pfMarkTracking = { anchor = "LEFT", parent = "UIParent", xpos = 2, ypos = -82 },
|
||||
}
|
||||
pfUI_profiles["Adapta"].new_module_positions = pfUI_profiles["Modern"].new_module_positions
|
||||
|
||||
|
||||
-- overwrite core profiles in userdata
|
||||
local profile_loader = CreateFrame("Frame")
|
||||
|
||||
Reference in New Issue
Block a user