copied profile

This commit is contained in:
Peter Wood
2025-04-08 15:31:34 -04:00
parent 59ea35edc7
commit 6c72ecbd48
106 changed files with 9515 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
---@module "picker.assets.font-leadings.font-leadings"
---@author akthe-at, sravioli
---@license GNU-GPLv3
---@class PickList
local M = {}
M.get = function()
local leadings_list = { { label = "Reset Line Height to Default", id = "reset" } }
for i = 0.9, 1.4, 0.1 do
table.insert(leadings_list, { label = i .. "x", id = tostring(i) })
end
return leadings_list
end
M.activate = function(config, opts)
if opts.id == "reset" then
config.line_height = nil
else
config.line_height = tonumber(opts.id)
end
end
return M