overview: fix row 1 not showing when ws 6 is occupied

This commit is contained in:
end-4
2024-02-03 08:59:09 +07:00
parent 954bc15f39
commit 18fa8bfe54
2 changed files with 4 additions and 2 deletions
@@ -263,9 +263,10 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
kids.forEach(kid => kid.clear());
for (let i = 0; i < allClients.length; i++) {
const client = allClients[i];
if (offset + startWorkspace <= client.workspace.id && client.workspace.id <= offset + startWorkspace + workspaces) {
if (offset + startWorkspace <= client.workspace.id &&
client.workspace.id <= offset + startWorkspace + workspaces) {
kids[client.workspace.id - (offset + startWorkspace)]
.set(client);
?.set(client);
}
}
kids.forEach(kid => kid.show());
+1
View File
@@ -5,3 +5,4 @@
.config/ags/scss/_material.scss
.config/hypr/colors.conf
/cache
.config/ags/style.css