Changeset 337 for trunk/Direct.pas


Ignore:
Timestamp:
Apr 1, 2021, 9:30:25 AM (4 years ago)
Author:
chronos
Message:
  • Fixed: Incorrect drawing of city names under units. MapOptions need to be global variable for all TIsoMap instances.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Direct.pas

    r336 r337  
    6464      Info := Phrases.Lookup('BUSY_MODLH');
    6565      Show;
    66       Application.ProcessMessages; // Repaint after show for Linux
     66      {$IFDEF LINUX}
     67      Application.ProcessMessages;
     68      {$ENDIF}
    6769      Invalidate;
    6870      Update;
     
    152154        State := -1;
    153155        Show;
     156        {$IFDEF LINUX}
     157        Application.ProcessMessages;
     158        {$ENDIF}
    154159        Invalidate;
    155160        Update;
    156         Application.ProcessMessages;
    157161      end;
    158162    ntBackOn: begin
     
    282286  Invalidate;
    283287  Update;
     288  {$IFDEF LINUX}
    284289  Application.ProcessMessages;
     290  {$ENDIF}
    285291end;
    286292
Note: See TracChangeset for help on using the changeset viewer.