Changeset 98 for trunk/UControls.pas


Ignore:
Timestamp:
Sep 28, 2022, 1:45:58 PM (20 months ago)
Author:
chronos
Message:
  • Modified: Do not change view zoom if new station is already visible.
  • Fixed: Line icon normalized.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UControls.pas

    r96 r98  
    5656procedure TLabel.Paint;
    5757begin
    58   if Assigned(Canvas) then
     58  if not Assigned(Canvas) then Exit;
    5959  with Canvas do begin
    6060    TextOut(Bounds.Left, Bounds.Top, Text);
     
    111111procedure TImage.Paint;
    112112begin
     113  if not Assigned(Canvas) then Exit;
    113114  if Canvas.Brush.Color = clNone then Canvas.Brush.Style := bsClear
    114115    else Canvas.Brush.Style := bsSolid;
Note: See TracChangeset for help on using the changeset viewer.