Improve web extension position (#1717)
This commit is contained in:
@@ -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_)
|
||||
|
||||
Reference in New Issue
Block a user