From 7e44162101162ff525dcd12d7785da7dcccf505d Mon Sep 17 00:00:00 2001 From: Guldoman Date: Thu, 7 Sep 2023 04:04:24 +0200 Subject: [PATCH] Fix `Scrollbar.{expanded,contracted}_size` documentation --- data/core/scrollbar.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/core/scrollbar.lua b/data/core/scrollbar.lua index c7590b8c..29352dd4 100644 --- a/data/core/scrollbar.lua +++ b/data/core/scrollbar.lua @@ -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