You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wrote a little function for the chat.lua file in modules that can toggle it between the default 0.8 alpha and 0.
-- show / hide panel toggle
local hide = false
function pfUI_chat_showhide()
local function toggle_chatshowhide(value)
if pfUI.chat.left then
pfUI.chat.left:SetAlpha(value)
end
if pfUI.chat.right then
pfUI.chat.right:SetAlpha(value)
end
if value > 0 then
hide = false
else
hide = true
end
end
if not hide then
toggle_chatshowhide(0)
else
toggle_chatshowhide(.8)
end
end
I can't imagine this would be the ideal way of going about it though. There is probably a better way to embed this in the module. For now you can add this to the bottom of the pfUI/modules/chat.lua and call it as such from a macro. Just would need to be sure to replace it when you update from whatever the current revision is on git until and or if this type of feature gets added properly.
Is there a way to make a keybind to hide and unhide chat panels like in elvui?
The text was updated successfully, but these errors were encountered: