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 15 additions and 14 deletions
13
flake.lock
13
flake.lock
|
@ -7,17 +7,16 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706310192,
|
"lastModified": 1706405338,
|
||||||
"narHash": "sha256-TO1YEMZmKU6cHZgIaxS5Jkj/M9q0kfc0mrmGxq+atrY=",
|
"narHash": "sha256-bbhA+GIInRJJzNDf5YnUOOPwfQT/EzBJ1Og4/DjN9+4=",
|
||||||
"owner": "Aylur",
|
"owner": "Aylur",
|
||||||
"repo": "ags",
|
"repo": "ags",
|
||||||
"rev": "8e94d3b465e76372056c76242e5c013950113be9",
|
"rev": "f5c2bbe3f68dd7a5316c3cd77e52076af560cd3e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "Aylur",
|
"owner": "Aylur",
|
||||||
"repo": "ags",
|
"repo": "ags",
|
||||||
"rev": "8e94d3b465e76372056c76242e5c013950113be9",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1006,11 +1005,11 @@
|
||||||
},
|
},
|
||||||
"nur": {
|
"nur": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1706392862,
|
"lastModified": 1706395433,
|
||||||
"narHash": "sha256-B42uOkwM2eykZPssttYKxF2B2B+3pwSMOk1Co+RWjpM=",
|
"narHash": "sha256-sNW4Zat3CYh+gLXPWCc4UasXIlXb5JLTeLf8iNn4ykA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "5209d1f058c7f5c062dd1e9f7c6c6c923ad4f70f",
|
"rev": "236b614c4c91c07e1239dff02e91377bf305354f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -207,9 +207,6 @@
|
||||||
owner = "Aylur";
|
owner = "Aylur";
|
||||||
repo = "ags";
|
repo = "ags";
|
||||||
|
|
||||||
# FIXME: some bugs in latest
|
|
||||||
rev = "8e94d3b465e76372056c76242e5c013950113be9";
|
|
||||||
|
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -131,6 +131,11 @@ export default ({
|
||||||
|
|
||||||
child: Overlay({
|
child: Overlay({
|
||||||
overlays: [Box({
|
overlays: [Box({
|
||||||
|
css: `
|
||||||
|
min-height: 1px;
|
||||||
|
min-width: 1px;
|
||||||
|
padding: 1px;
|
||||||
|
`,
|
||||||
setup: (self) => {
|
setup: (self) => {
|
||||||
// Make sure child doesn't
|
// Make sure child doesn't
|
||||||
// get bigger than it should
|
// get bigger than it should
|
||||||
|
@ -239,11 +244,10 @@ export default ({
|
||||||
|
|
||||||
if (ch === overlay) {
|
if (ch === overlay) {
|
||||||
const alloc = overlay.get_allocation();
|
const alloc = overlay.get_allocation();
|
||||||
const setAlloc = (v: number) => v - 2 < 0 ? 1 : v;
|
|
||||||
|
|
||||||
(self.child as AgsBox).css = `
|
(self.child as AgsBox).css = `
|
||||||
min-height: ${setAlloc(alloc.height - 2)}px;
|
min-height: ${alloc.height}px;
|
||||||
min-width: ${setAlloc(alloc.width - 2)}px;
|
min-width: ${alloc.width}px;
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -199,7 +199,8 @@ export const NetworkMenu = () => {
|
||||||
APList.delete(ssid);
|
APList.delete(ssid);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
apWidget.child.reveal_child = false;
|
apWidget.children[0]
|
||||||
|
.reveal_child = false;
|
||||||
apWidget.toDestroy = true;
|
apWidget.toDestroy = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue