Fixed issue with the window frame
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user