From 3b7401b065d78582fe67591f37d36021e94d2f0a Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Mon, 2 Mar 2026 19:31:33 +0000 Subject: algo/scroll: improve directional moves (#13423) --- 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 a414a22f..d95b3197 100644 --- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp +++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp @@ -40,8 +40,8 @@ namespace Layout::Tiled { // index of lowest target that is above y. size_t idxForHeight(float y); - void up(SP w); - void down(SP w); + bool up(SP w); + bool down(SP w); SP next(SP w); SP prev(SP w); -- cgit v1.2.3