Baseless/helpers/CreateSelectionTool.lua

17 lines
425 B
Lua
Raw Normal View History

2020-04-22 04:35:40 +00:00
function CreateSelectionTool (type, prototype)
return CreateItemWithLabel(
type,
MergeTables(
prototype,
{
alt_selection_color = Baseless.Color,
alt_selection_cursor_box_type = "not-allowed",
alt_selection_mode = {"nothing"},
selection_color = Baseless.Color,
selection_cursor_box_type = "not-allowed",
selection_mode = {"nothing"},
}
)
)
end