From f7665af8500b442ebe37cf23d4fc3def5b941812 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sun, 18 May 2025 20:57:19 +0200 Subject: [PATCH] hyprscrolling: fixup minor oopsie fixes #349 --- hyprscrolling/Scrolling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyprscrolling/Scrolling.cpp b/hyprscrolling/Scrolling.cpp index a973382..8f111d6 100644 --- a/hyprscrolling/Scrolling.cpp +++ b/hyprscrolling/Scrolling.cpp @@ -26,7 +26,7 @@ void SColumnData::add(SP w) { windowDatas.emplace_back(w); w->column = self; - w->windowSize = 1.F / (float)(windowDatas.size() + 1); + w->windowSize = 1.F / (float)(windowDatas.size()); } void SColumnData::remove(PHLWINDOW w) {