Forráskód Böngészése

Fix a cosmetic issue with UpdateLinkLabel.

Martijn Laan 2 hónapja
szülő
commit
d7c4a1be9b
1 módosított fájl, 3 hozzáadás és 0 törlés
  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 }
     to the form's height decreasing }
   if StatusPanel.Visible then
   if StatusPanel.Visible then
     UpdateStatusPanelHeight(StatusPanel.Height);
     UpdateStatusPanelHeight(StatusPanel.Height);
+  { Violently resizing the form leaves UpdatePanelDonateImage and UpdatePanelPaintBox artifacts
+    under and over UpdateLinkLabel. Invalidating it prevents this. }
+  UpdateLinkLabel.Invalidate;
 end;
 end;
 
 
 procedure TMainForm.WndProc(var Message: TMessage);
 procedure TMainForm.WndProc(var Message: TMessage);