mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
roll: use native insert link function when possible
This commit is contained in:
+3
-1
@@ -109,7 +109,9 @@ pfUI:RegisterModule("roll", "vanilla:tbc", function ()
|
||||
if IsControlKeyDown() then
|
||||
DressUpItemLink(GetLootRollItemLink(this:GetParent().rollID))
|
||||
elseif IsShiftKeyDown() then
|
||||
if ChatFrameEditBox:IsVisible() then
|
||||
if ChatEdit_InsertLink then
|
||||
ChatEdit_InsertLink(GetLootRollItemLink(this:GetParent().rollID))
|
||||
elseif ChatFrameEditBox:IsVisible() then
|
||||
ChatFrameEditBox:Insert(GetLootRollItemLink(this:GetParent().rollID))
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user