mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 03:19:59 +00:00
tooltip: set dodge mode to default
This commit is contained in:
+1
-1
@@ -441,7 +441,7 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("castbar", "target", "hide_pfui", "0")
|
||||
pfUI:UpdateConfig("castbar", nil, "use_unitfonts", "0")
|
||||
|
||||
pfUI:UpdateConfig("tooltip", nil, "position", "bottom")
|
||||
pfUI:UpdateConfig("tooltip", nil, "position", "chat")
|
||||
pfUI:UpdateConfig("tooltip", nil, "extguild", "1")
|
||||
pfUI:UpdateConfig("tooltip", nil, "alpha", "0.8")
|
||||
pfUI:UpdateConfig("tooltip", "compare", "showalways", "0")
|
||||
|
||||
+1
-1
@@ -655,7 +655,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
|
||||
local dropdown_tooltip_position = {
|
||||
"bottom:" .. T["Bottom"],
|
||||
"chat:" .. T["Chat"],
|
||||
"chat:" .. T["Dodge"],
|
||||
"cursor:" .. T["Cursor"]
|
||||
}
|
||||
|
||||
|
||||
+10
-2
@@ -49,8 +49,16 @@ CreateBackdrop(GameTooltip, nil, nil, alpha)
|
||||
GameTooltip:SetPoint("BOTTOMRIGHT", UIParent, "BOTTOMRIGHT", 0, -C.appearance.border.default*2)
|
||||
end
|
||||
elseif C.tooltip.position == "chat" then
|
||||
local anchor = ChatFrame3
|
||||
if pfUI.chat then anchor = pfUI.chat.right end
|
||||
local anchor = pfUI.panel.right
|
||||
|
||||
if pfUI.chat and pfUI.chat.right:IsShown() then
|
||||
anchor = pfUI.chat.right
|
||||
end
|
||||
|
||||
if pfUI.bag and pfUI.bag.right and pfUI.bag.right:IsShown() then
|
||||
anchor = pfUI.bag.right
|
||||
end
|
||||
|
||||
GameTooltip:SetPoint("BOTTOMRIGHT", anchor, "TOPRIGHT", 0, C.appearance.border.default*2)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user