Ignore:
Timestamp:
Sep 21, 2018, 1:22:52 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Draw cell links under cells in cyclic map mode.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormClient.pas

    r237 r241  
    214214              )
    215215            );
     216            Client.DrawCellLinks(PaintBox1.Canvas, TempView);
     217          end;
     218        end;
     219        for Y := 0 to CountP.Y do begin
     220          for X := 0 to CountP.X do begin
     221            TempView.Assign(View);
     222            TempView.DestRect := TRect.Create(
     223              TPoint.Create(
     224                -StartP.X + R.Size.X * X,
     225                -StartP.Y + R.Size.Y * Y
     226              ),
     227              TPoint.Create(
     228                -StartP.X + R.Size.X * X + View.DestRect.Size.X,
     229                -StartP.Y + R.Size.Y * Y + View.DestRect.Size.Y
     230              )
     231            );
    216232            Client.Paint(PaintBox1.Canvas, TempView);
    217233          end;
     
    235251        TempView.Free;
    236252      end else
     253      Client.DrawCellLinks(PaintBox1.Canvas, View);
    237254      Client.Paint(PaintBox1.Canvas, View);
    238255      Client.DrawArrows(PaintBox1.Canvas, View);
Note: See TracChangeset for help on using the changeset viewer.