You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
932 B

3 years ago
-- ------------------------------------------------------------------------------ --
-- TradeSkillMaster --
-- https://tradeskillmaster.com --
-- All Rights Reserved - Detailed license information included with addon. --
-- ------------------------------------------------------------------------------ --
local TSM = select(2, ...) ---@type TSM
local DragContext = TSM.Init("UI.DragContext") ---@class UI.DragContext
3 years ago
local private = {
context = nil,
}
-- ============================================================================
-- Module Functions
-- ============================================================================
function DragContext.Get()
return private.context
end
function DragContext.Set(items)
private.context = items
end
function DragContext.Clear()
private.context = nil
end