mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-25 22:34:56 +00:00
19 lines
373 B
Lua
19 lines
373 B
Lua
-- Deselect all rows
|
|
-- Single function module for data table selection
|
|
|
|
---@class DeselectAll
|
|
local M = {}
|
|
|
|
---Deselect all rows
|
|
---@param state SelectionState Current selection state
|
|
---@return SelectionState New selection state
|
|
function M.deselectAll(state)
|
|
return {
|
|
selected = {},
|
|
mode = state.mode,
|
|
lastSelected = nil
|
|
}
|
|
end
|
|
|
|
return M
|