diff options
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; |