Changeset 51 for trunk


Ignore:
Timestamp:
Dec 19, 2017, 11:21:07 AM (7 years ago)
Author:
chronos
Message:
  • Fixed: Zooming by mouse wheel was inverted. Not worked correctly with touch screen.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMain.pas

    r44 r51  
    100100  Shift: TShiftState; MousePos: TPoint; var Handled: Boolean);
    101101begin
    102   Engine.View.Zoom := Engine.View.Zoom * 1.2;
     102  Engine.View.Zoom := Engine.View.Zoom / 1.2;
    103103end;
    104104
     
    106106  MousePos: TPoint; var Handled: Boolean);
    107107begin
    108   Engine.View.Zoom := Engine.View.Zoom / 1.2;
     108  Engine.View.Zoom := Engine.View.Zoom * 1.2;
    109109end;
    110110
Note: See TracChangeset for help on using the changeset viewer.