mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
loot: prevent lootframe from drawing off-screen
This commit is contained in:
@@ -420,6 +420,11 @@ pfUI:RegisterModule("loot", function ()
|
||||
|
||||
pfUI.loot.slots = {}
|
||||
function pfUI.loot:UpdateLootFrame()
|
||||
if C.loot.mousecursor == "1" then
|
||||
pfUI.loot:SetClampedToScreen(true)
|
||||
else
|
||||
pfUI.loot:SetClampedToScreen(false)
|
||||
end
|
||||
local maxrarity, maxwidth = 0, 0
|
||||
|
||||
local items = GetNumLootItems()
|
||||
|
||||
Reference in New Issue
Block a user