From 9f599e316504943eec5d2fa854f7c99c575616b7 Mon Sep 17 00:00:00 2001 From: ItsOhen Date: Tue, 17 Mar 2026 17:43:53 +0100 Subject: window/rules: add scrolling_width (#13754) --- src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp') diff --git a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp index d95b3197..1b2b1d1e 100644 --- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp +++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp @@ -68,8 +68,8 @@ namespace Layout::Tiled { UP controller; - SP add(); - SP add(int after); + SP add(std::optional width = std::nullopt); + SP add(int after, std::optional width = std::nullopt); int64_t idx(SP c); void remove(SP c); double maxWidth(); -- cgit v1.2.3