feat(ags overview): fix visibility of plus sign

This commit is contained in:
matt1432 2023-09-23 22:08:29 -04:00
parent 7306b39e3a
commit 897fbc3afb

View file

@ -28,7 +28,10 @@ export const WorkspaceRow = (className, i) => Revealer({
children: [null, EventBox({ children: [null, EventBox({
properties: [['box']], properties: [['box']],
setup: eventbox => eventbox._box = eventbox.child.children[0], setup: eventbox => eventbox._box = eventbox.child.children[0],
onHover: eventbox => eventbox._box.revealChild = true, connections: [[Hyprland, eventbox => {
eventbox._box.revealChild = className === 'special' ||
!Hyprland.workspaces.some(ws => ws.id > i * VARS.WORKSPACE_PER_ROW + VARS.WORKSPACE_PER_ROW && (ws.windows > 0 || ws.id === Hyprland.active.workspace.id));
}]],
child: Box({ child: Box({
className: className, className: className,
children: [ children: [