background parallax: make half groups really half group

This commit is contained in:
end-4
2025-07-16 00:17:18 +07:00
parent 08e3a9bddb
commit bb221326eb
@@ -141,7 +141,7 @@ Scope {
property real value // 0 to 1, for offset
value: {
// Range = half-groups that workspaces span on
const chunkSize = 3;
const chunkSize = 5;
const lower = Math.floor(bgRoot.firstWorkspaceId / chunkSize) * chunkSize;
const upper = Math.ceil(bgRoot.lastWorkspaceId / chunkSize) * chunkSize;
const range = upper - lower;