mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-31 16:06:57 +00:00
Confirm clipboard copies with fading screen text instead of chat
This commit is contained in:
+2
-2
@@ -580,11 +580,11 @@ function pfUI.api.SendChatMessageWide(msg)
|
||||
end
|
||||
|
||||
-- [ CopyText ]
|
||||
-- Copies text to the clipboard and says so in chat
|
||||
-- Copies text to the clipboard and says so in the colour of a UI_INFO_MESSAGE
|
||||
-- 'text' [string] the text to copy
|
||||
function pfUI.api.CopyText(text)
|
||||
CopyToClipboard(text)
|
||||
DEFAULT_CHAT_FRAME:AddMessage("|cff33ffccpf|cffffffffUI|r: " .. T["Copied to clipboard"])
|
||||
UIErrorsFrame:AddMessage(T["Copied to clipboard"], 1, 1, 0, 1)
|
||||
end
|
||||
|
||||
-- [ GroupInfoByName ]
|
||||
|
||||
Reference in New Issue
Block a user