File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -3465,6 +3465,15 @@ procedure TUIForm.HomeDrawPaint(Sender: TObject);
34653465 ScrollPosition.PageSize := 0 ;
34663466 ScrollPosition.Max := MaxScroll - HomeDraw.Height;
34673467 end ;
3468+
3469+ // Copy draw buffer
3470+ with TPaintBox(Sender).Canvas do
3471+ begin
3472+ LastDrawBuffer.Width := ClipRect.Width;
3473+ LastDrawBuffer.Height := ClipRect.Height;
3474+
3475+ LastDrawBuffer.Canvas.CopyRect(ClipRect, TPaintBox(Sender).Canvas, ClipRect);
3476+ end ;
34683477end ;
34693478
34703479procedure TUIForm.PopupGeneralInfo (Sender: TObject);
@@ -6655,6 +6664,15 @@ procedure TUIForm.SearchDrawPaint(Sender: TObject);
66556664 ScrollPosition.PageSize := 0 ;
66566665 ScrollPosition.Max := Y + ScrollPosition.Position;
66576666 end ;
6667+
6668+ // Copy draw buffer
6669+ with TPaintBox(Sender).Canvas do
6670+ begin
6671+ LastDrawBuffer.Width := ClipRect.Width;
6672+ LastDrawBuffer.Height := ClipRect.Height;
6673+
6674+ LastDrawBuffer.Canvas.CopyRect(ClipRect, TPaintBox(Sender).Canvas, ClipRect);
6675+ end ;
66586676end ;
66596677
66606678procedure TUIForm.Search_ButtonClick (Sender: TObject);
You can’t perform that action at this time.
0 commit comments