Compare commits

...

1 Commits

Author SHA1 Message Date
Vyacheslav Moklev
f0831a9d90 Fix for IDEA-214698 2019-05-27 15:45:37 +03:00

View File

@@ -1794,9 +1794,11 @@ MsgRouting AwtFrame::WmNcCalcSize(BOOL wParam, LPNCCALCSIZE_PARAMS lpncsp, LRESU
if (::IsZoomed(GetHWnd())) { if (::IsZoomed(GetHWnd())) {
rect->top += insets.bottom; rect->top += insets.bottom;
// [moklev] Workaround for RIDER-27069, IDEA-211327 // [moklev] Workaround for RIDER-27069, IDEA-211327
if (!this->IsUndecorated()) {
rect->right += this->ScaleUpX(1); rect->right += this->ScaleUpX(1);
rect->bottom -= 1; rect->bottom -= 1;
} }
}
else { else {
// this makes the native caption go uncovered // this makes the native caption go uncovered
// int yBorder = ::GetSystemMetrics(SM_CYBORDER); // int yBorder = ::GetSystemMetrics(SM_CYBORDER);