Fixed issue with the window frame

This commit is contained in:
fourtf 2018-07-04 10:37:53 +02:00
parent e32af3206a
commit 1064729e1a

View file

@ -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