fix(ags qs): set right name for set_x_pos window
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-02 17:29:11 -05:00
parent 96025b3226
commit 60615feeb9
2 changed files with 2 additions and 3 deletions

View file

@ -32,7 +32,7 @@ export default () => {
on_primary_click_release: (self) => {
// @ts-expect-error
App.getWindow('notification-center').attribute.set_x_pos(
App.getWindow('quick-settings').attribute.set_x_pos(
self.get_allocation(),
'right',
);

View file

@ -49,11 +49,10 @@ const QuickSettingsWidget = () => {
};
const TOP_MARGIN = 6;
const RIGHT_MARGIN = 5;
export default () => PopupWindow({
name: 'quick-settings',
anchor: ['top', 'right'],
margins: [TOP_MARGIN, RIGHT_MARGIN, 0, 0],
margins: [TOP_MARGIN, 0, 0, 0],
child: QuickSettingsWidget(),
});