浏览代码

Fix a cosmetic issue with UpdateLinkLabel.

Martijn Laan 2 月之前
父节点
当前提交
d7c4a1be9b
共有 1 个文件被更改,包括 3 次插入0 次删除
  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);