Prechádzať zdrojové kódy

Fix a cosmetic issue with UpdateLinkLabel.

Martijn Laan 2 mesiacov pred
rodič
commit
d7c4a1be9b
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      Projects/Src/IDE.MainForm.pas

+ 3 - 0
Projects/Src/IDE.MainForm.pas

@@ -1704,6 +1704,9 @@ begin
     to the form's height decreasing }
   if StatusPanel.Visible then
     UpdateStatusPanelHeight(StatusPanel.Height);
+  { Violently resizing the form leaves UpdatePanelDonateImage and UpdatePanelPaintBox artifacts
+    under and over UpdateLinkLabel. Invalidating it prevents this. }
+  UpdateLinkLabel.Invalidate;
 end;
 
 procedure TMainForm.WndProc(var Message: TMessage);