Ignore:
Timestamp:
Nov 27, 2016, 2:34:31 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Changed debian packages configuration files to support build on Launchpad.
  • Fixed: Wrong zoom calculation in some case.
  • Fixed: Set configuration file name explicitly.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r107 r111  
    257257    if Factor.X < Factor.Y then NewZoom := Factor.X
    258258      else NewZoom := Factor.Y;
    259     //if NewZoom <> 0 then
     259    if NewZoom = 0 then NewZoom := 1;
    260260    Zoom := NewZoom;
    261261    CenterMap;
     
    330330procedure TFormMain.FormShow(Sender: TObject);
    331331begin
     332  Core.XMLConfig1.Filename := 'Config.xml';
    332333  LoadConfig(Core.XMLConfig1, 'FormMain');
    333334  Core.PersistentForm.Load(Self, True);
Note: See TracChangeset for help on using the changeset viewer.