mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Improve web extension position (#1717)
This commit is contained in:
parent
50d669a1af
commit
39cc421f95
1 changed files with 3 additions and 3 deletions
|
@ -270,9 +270,9 @@ void AttachedWindow::updateWindowRect(void *_attachedPtr)
|
||||||
int o = this->fullscreen_ ? 0 : 8;
|
int o = this->fullscreen_ ? 0 : 8;
|
||||||
|
|
||||||
::MoveWindow(hwnd, int(rect.right - this->width_ * scale - o),
|
::MoveWindow(hwnd, int(rect.right - this->width_ * scale - o),
|
||||||
int(rect.bottom - this->height_ * scale - o) + 4,
|
int(rect.bottom - this->height_ * scale - o),
|
||||||
int(this->width_ * scale) - 5,
|
int(this->width_ * scale), int(this->height_ * scale),
|
||||||
int(this->height_ * scale) - 5, true);
|
true);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (this->fullscreen_)
|
// if (this->fullscreen_)
|
||||||
|
|
Loading…
Reference in a new issue