From bce0025cf7eb06adf0f677fce11ded812590d04d Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 12 Apr 2024 15:13:24 +0700 Subject: [PATCH] fix weird abrupt change (#403) --- .config/ags/modules/overview/main.js | 2 +- .config/ags/modules/overview/overview_hyprland.js | 1 - .config/ags/modules/overview/windowcontent.js | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.config/ags/modules/overview/main.js b/.config/ags/modules/overview/main.js index 185c6010c..7695db0fb 100644 --- a/.config/ags/modules/overview/main.js +++ b/.config/ags/modules/overview/main.js @@ -7,7 +7,7 @@ export default (id = '') => PopupWindow({ // exclusivity: 'ignore', keymode: 'exclusive', visible: false, - anchor: ['top'], + anchor: ['top', 'bottom'], layer: 'overlay', child: Widget.Box({ vertical: true, diff --git a/.config/ags/modules/overview/overview_hyprland.js b/.config/ags/modules/overview/overview_hyprland.js index 7dfcf5849..8e724fe32 100644 --- a/.config/ags/modules/overview/overview_hyprland.js +++ b/.config/ags/modules/overview/overview_hyprland.js @@ -234,7 +234,6 @@ export default () => { `, children: [Widget.EventBox({ hexpand: true, - vexpand: true, onPrimaryClick: () => { App.closeWindow('overview'); Utils.timeout(POPUP_CLOSE_TIME, () => Hyprland.messageAsync(`dispatch workspace ${index}`)); diff --git a/.config/ags/modules/overview/windowcontent.js b/.config/ags/modules/overview/windowcontent.js index 9145f0c55..2f50a6902 100644 --- a/.config/ags/modules/overview/windowcontent.js +++ b/.config/ags/modules/overview/windowcontent.js @@ -54,7 +54,6 @@ export const SearchAndWindows = () => { const resultsBox = Widget.Box({ className: 'overview-search-results', vertical: true, - vexpand: true, }); const resultsRevealer = Widget.Revealer({ transitionDuration: userOptions.animations.durationLarge,