parent
74e6f417cd
commit
b51c306edd
4 changed files with 17 additions and 12 deletions
|
@ -9,6 +9,7 @@ const TopLeft = () => Window({
|
||||||
exclusivity: 'ignore',
|
exclusivity: 'ignore',
|
||||||
anchor: ['top', 'left'],
|
anchor: ['top', 'left'],
|
||||||
visible: true,
|
visible: true,
|
||||||
|
click_through: true,
|
||||||
child: RoundedCorner('topleft'),
|
child: RoundedCorner('topleft'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -18,6 +19,7 @@ const TopRight = () => Window({
|
||||||
exclusivity: 'ignore',
|
exclusivity: 'ignore',
|
||||||
anchor: ['top', 'right'],
|
anchor: ['top', 'right'],
|
||||||
visible: true,
|
visible: true,
|
||||||
|
click_through: true,
|
||||||
child: RoundedCorner('topright'),
|
child: RoundedCorner('topright'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -27,6 +29,7 @@ const BottomLeft = () => Window({
|
||||||
exclusivity: 'ignore',
|
exclusivity: 'ignore',
|
||||||
anchor: ['bottom', 'left'],
|
anchor: ['bottom', 'left'],
|
||||||
visible: true,
|
visible: true,
|
||||||
|
click_through: true,
|
||||||
child: RoundedCorner('bottomleft'),
|
child: RoundedCorner('bottomleft'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -36,6 +39,7 @@ const BottomRight = () => Window({
|
||||||
exclusivity: 'ignore',
|
exclusivity: 'ignore',
|
||||||
anchor: ['bottom', 'right'],
|
anchor: ['bottom', 'right'],
|
||||||
visible: true,
|
visible: true,
|
||||||
|
click_through: true,
|
||||||
child: RoundedCorner('bottomright'),
|
child: RoundedCorner('bottomright'),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -30,8 +30,6 @@ export default {
|
||||||
'quick-settings': closeWinDelay,
|
'quick-settings': closeWinDelay,
|
||||||
},
|
},
|
||||||
windows: [
|
windows: [
|
||||||
// Put the corners first so they
|
|
||||||
// don't block the cursor on the bar
|
|
||||||
...Corners(),
|
...Corners(),
|
||||||
|
|
||||||
AppLauncher(),
|
AppLauncher(),
|
||||||
|
|
|
@ -58,7 +58,7 @@ export const Overview = () => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
self?.attribute.update();
|
self.attribute.update();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
@ -128,17 +128,20 @@ export default () => {
|
||||||
if (isOpen) {
|
if (isOpen) {
|
||||||
self.child = Overview();
|
self.child = Overview();
|
||||||
self.show_all();
|
self.show_all();
|
||||||
|
|
||||||
(self.child as AgsOverlay)
|
(self.child as AgsOverlay)
|
||||||
.attribute.get_child().attribute.update();
|
.attribute.get_child().attribute.update();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
(self.child as AgsOverlay).attribute.closing = true;
|
(self.child as AgsOverlay).attribute.closing = true;
|
||||||
((self.child as AgsOverlay).child as AgsBox).css = `
|
|
||||||
min-height: 1px;
|
((self.child as AgsOverlay)
|
||||||
min-width: 1px;
|
.child as AgsBox).css = `
|
||||||
transition: all
|
min-height: 1px;
|
||||||
${transition_duration - 10}ms ease;
|
min-width: 1px;
|
||||||
`;
|
transition: all
|
||||||
|
${transition_duration - 10}ms ease;
|
||||||
|
`;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
6
flake.lock
generated
6
flake.lock
generated
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1705273764,
|
"lastModified": 1705327000,
|
||||||
"narHash": "sha256-qWHrCYk7IZhXhfkOESazhRwpSH85yJvOrOjBfmxE0QI=",
|
"narHash": "sha256-hygjpqpNP36NELEbeq+mOc+2F/L2PUAamOseBBIvNDQ=",
|
||||||
"owner": "Aylur",
|
"owner": "Aylur",
|
||||||
"repo": "ags",
|
"repo": "ags",
|
||||||
"rev": "3fce4efcc25c981c552eb58108d01d64e7033e14",
|
"rev": "106b4f30ad2e7249c7b2c4d255669d78ae297213",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue