Fix `Scrollbar.{expanded,contracted}_size` documentation

This commit is contained in:
Guldoman 2023-09-07 04:04:24 +02:00 committed by George Sokianos
parent 351ef1ecea
commit e5c17ed3ec
1 changed files with 2 additions and 2 deletions

View File

@ -58,9 +58,9 @@ function Scrollbar:new(options)
---@type "expanded" | "contracted" | false @Force the scrollbar status
self.force_status = options.force_status
self:set_forced_status(options.force_status)
---@type number? @Override the default value specified by `style.expanded_scrollbar_size`
self.contracted_size = options.contracted_size
---@type number? @Override the default value specified by `style.scrollbar_size`
self.contracted_size = options.contracted_size
---@type number? @Override the default value specified by `style.expanded_scrollbar_size`
self.expanded_size = options.expanded_size
end