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

This commit is contained in:
Guldoman 2023-09-07 04:04:24 +02:00
parent 185b9cb080
commit 7e44162101
No known key found for this signature in database
GPG Key ID: EA928C8BDA1A8825
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 ---@type "expanded" | "contracted" | false @Force the scrollbar status
self.force_status = options.force_status self.force_status = options.force_status
self:set_forced_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` ---@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 self.expanded_size = options.expanded_size
end end