From 39cc421f95d6e7af5f4719994b38e1190f1c5f24 Mon Sep 17 00:00:00 2001 From: alazymeme Date: Sun, 7 Jun 2020 19:33:45 +1000 Subject: [PATCH] Improve web extension position (#1717) --- src/widgets/AttachedWindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/widgets/AttachedWindow.cpp b/src/widgets/AttachedWindow.cpp index 83f7dbc06..7c84d2b99 100644 --- a/src/widgets/AttachedWindow.cpp +++ b/src/widgets/AttachedWindow.cpp @@ -270,9 +270,9 @@ void AttachedWindow::updateWindowRect(void *_attachedPtr) int o = this->fullscreen_ ? 0 : 8; ::MoveWindow(hwnd, int(rect.right - this->width_ * scale - o), - int(rect.bottom - this->height_ * scale - o) + 4, - int(this->width_ * scale) - 5, - int(this->height_ * scale) - 5, true); + int(rect.bottom - this->height_ * scale - o), + int(this->width_ * scale), int(this->height_ * scale), + true); } // if (this->fullscreen_)