fix(ags overview): refer to correct overlay to fix margin anim issues

This commit is contained in:
matt1432 2023-10-12 23:01:14 -04:00
parent d8780ddf23
commit 67652d375c

View file

@ -102,7 +102,7 @@ const Workspace = (id, name) => Revealer({
let activeId = Hyprland.active.workspace.id; let activeId = Hyprland.active.workspace.id;
let active = activeId === box._id; let active = activeId === box._id;
let rev = box.child.child.overlays[0]; let rev = box.child.child.get_children()[1];
let n = activeId > box._id; let n = activeId > box._id;
if (Hyprland.getWorkspace(box._id)?.windows > 0 || active) { if (Hyprland.getWorkspace(box._id)?.windows > 0 || active) {