fix(ags): update to latest git and fix bugs
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
368e6b6ee7
commit
49f3a92ce3
4 changed files with 9 additions and 4 deletions
BIN
flake.lock
BIN
flake.lock
Binary file not shown.
BIN
flake.nix
BIN
flake.nix
Binary file not shown.
|
@ -131,6 +131,11 @@ export default ({
|
|||
|
||||
child: Overlay({
|
||||
overlays: [Box({
|
||||
css: `
|
||||
min-height: 1px;
|
||||
min-width: 1px;
|
||||
padding: 1px;
|
||||
`,
|
||||
setup: (self) => {
|
||||
// Make sure child doesn't
|
||||
// get bigger than it should
|
||||
|
@ -239,11 +244,10 @@ export default ({
|
|||
|
||||
if (ch === overlay) {
|
||||
const alloc = overlay.get_allocation();
|
||||
const setAlloc = (v: number) => v - 2 < 0 ? 1 : v;
|
||||
|
||||
(self.child as AgsBox).css = `
|
||||
min-height: ${setAlloc(alloc.height - 2)}px;
|
||||
min-width: ${setAlloc(alloc.width - 2)}px;
|
||||
min-height: ${alloc.height}px;
|
||||
min-width: ${alloc.width}px;
|
||||
`;
|
||||
}
|
||||
});
|
||||
|
|
|
@ -199,7 +199,8 @@ export const NetworkMenu = () => {
|
|||
APList.delete(ssid);
|
||||
}
|
||||
else {
|
||||
apWidget.child.reveal_child = false;
|
||||
apWidget.children[0]
|
||||
.reveal_child = false;
|
||||
apWidget.toDestroy = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue