mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-23 20:40:50 +00:00
bags: prevent from being placed offscreen
This commit is contained in:
@@ -4,6 +4,9 @@ pfUI:RegisterModule("bags", function ()
|
|||||||
default_border = C.appearance.border.bags
|
default_border = C.appearance.border.bags
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- prevent from being placed offscreen
|
||||||
|
_G.StackSplitFrame:SetClampedToScreen(true)
|
||||||
|
|
||||||
-- overwrite some bag functions
|
-- overwrite some bag functions
|
||||||
function _G.OpenAllBags()
|
function _G.OpenAllBags()
|
||||||
if pfUI.bag.right:IsShown() then
|
if pfUI.bag.right:IsShown() then
|
||||||
|
|||||||
Reference in New Issue
Block a user