Fix `Scrollbar.{expanded,contracted}_size` documentation
This commit is contained in:
parent
351ef1ecea
commit
e5c17ed3ec
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue