ide: fix flicker when resizing MainIDEBar if AutoAdjustIDEHeight is enabled. Issue #29308

git-svn-id: trunk@51113 -
This commit is contained in:
ondrej 2016-01-02 09:57:14 +00:00
parent f42e7fcc66
commit 89d6b735e2

View File

@ -713,9 +713,10 @@ end;
procedure TMainIDEBar.Resizing(State: TWindowState);
begin
case State of
wsMaximized, wsNormal: DoSetMainIDEHeight(State = wsMaximized);
end;
if not (wcfClientRectNeedsUpdate in FWinControlFlags) then
case State of
wsMaximized, wsNormal: DoSetMainIDEHeight(State = wsMaximized);
end;
inherited Resizing(State);
end;