bags: prevent from being placed offscreen

This commit is contained in:
shagu
2017-12-11 20:32:04 +01:00
parent a51bb430ed
commit 03d4d530fd
+3
View File
@@ -4,6 +4,9 @@ pfUI:RegisterModule("bags", function ()
default_border = C.appearance.border.bags
end
-- prevent from being placed offscreen
_G.StackSplitFrame:SetClampedToScreen(true)
-- overwrite some bag functions
function _G.OpenAllBags()
if pfUI.bag.right:IsShown() then