mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-18 18:40:49 +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
|
if IsControlKeyDown() then
|
||||||
DressUpItemLink(GetLootRollItemLink(this:GetParent().rollID))
|
DressUpItemLink(GetLootRollItemLink(this:GetParent().rollID))
|
||||||
elseif IsShiftKeyDown() then
|
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))
|
ChatFrameEditBox:Insert(GetLootRollItemLink(this:GetParent().rollID))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user