mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Fixed issue with the window frame
This commit is contained in:
parent
e32af3206a
commit
1064729e1a
1 changed files with 4 additions and 0 deletions
|
@ -64,6 +64,8 @@ BaseWindow::BaseWindow(QWidget *parent, Flags _flags)
|
|||
this->updateScale();
|
||||
|
||||
CreateWindowShortcut(this, "CTRL+0", [] { getApp()->settings->uiScale.setValue(0); });
|
||||
|
||||
// QTimer::this->scaleChangedEvent(this->getScale());
|
||||
}
|
||||
|
||||
float BaseWindow::getScale() const
|
||||
|
@ -552,6 +554,8 @@ bool BaseWindow::handleSHOWWINDOW(MSG *msg)
|
|||
DwmExtendFrameIntoClientArea(HWND(this->winId()), &shadow);
|
||||
}
|
||||
|
||||
this->calcButtonsSizes();
|
||||
|
||||
return true;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue