forked from Shinonome/dots-hyprland
overview: fix row 1 not showing when ws 6 is occupied
This commit is contained in:
@@ -263,9 +263,10 @@ const OverviewRow = ({ startWorkspace, workspaces, windowName = 'overview' }) =>
|
|||||||
kids.forEach(kid => kid.clear());
|
kids.forEach(kid => kid.clear());
|
||||||
for (let i = 0; i < allClients.length; i++) {
|
for (let i = 0; i < allClients.length; i++) {
|
||||||
const client = allClients[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)]
|
kids[client.workspace.id - (offset + startWorkspace)]
|
||||||
.set(client);
|
?.set(client);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
kids.forEach(kid => kid.show());
|
kids.forEach(kid => kid.show());
|
||||||
|
|||||||
@@ -5,3 +5,4 @@
|
|||||||
.config/ags/scss/_material.scss
|
.config/ags/scss/_material.scss
|
||||||
.config/hypr/colors.conf
|
.config/hypr/colors.conf
|
||||||
/cache
|
/cache
|
||||||
|
.config/ags/style.css
|
||||||
|
|||||||
Reference in New Issue
Block a user