diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 19:58:07 +1100 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-02-22 19:58:07 +1100 |
| commit | cf55e2613314e27243c60395e58665b9309280c8 (patch) | |
| tree | 572b6226dad2c84621deb33d765d5a67454fc842 /src/widgets/popupwindow.ts | |
| parent | scss: make notifpopup shadow default (diff) | |
| download | caelestia-shell-cf55e2613314e27243c60395e58665b9309280c8.tar.gz caelestia-shell-cf55e2613314e27243c60395e58665b9309280c8.tar.bz2 caelestia-shell-cf55e2613314e27243c60395e58665b9309280c8.zip | |
config: use config file
Config file at ~/.config/caelestia/shell.json
Diffstat (limited to 'src/widgets/popupwindow.ts')
| -rw-r--r-- | src/widgets/popupwindow.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/popupwindow.ts b/src/widgets/popupwindow.ts index 2ba49fc..624e9a5 100644 --- a/src/widgets/popupwindow.ts +++ b/src/widgets/popupwindow.ts @@ -38,7 +38,7 @@ export default class PopupWindow extends Widget.Window { let marginLeft = 0; let marginTop = 0; - if (bar.vertical) { + if (bar.vertical.get()) { marginLeft = cx + (width - x); marginTop = cy + ((height - pHeight) / 2 - y); if (marginTop < 0) marginTop = 0; |