mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-08 06:30:00 +00:00
tooltip: set dodge mode to default
This commit is contained in:
+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