freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype-demos][master] * src/ftgrid.c (event_grid_zoom):


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype-demos][master] * src/ftgrid.c (event_grid_zoom): Relax relative zooming.
Date: Wed, 18 Dec 2024 19:18:37 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType Demo Programs

Commits:

  • cd17f4c4
    by Alexei Podtelezhnikov (Алексей Подтележников) at 2024-12-18T19:18:35+00:00
    * src/ftgrid.c (event_grid_zoom): Relax relative zooming.

1 changed file:

Changes:

  • src/ftgrid.c
    ... ... @@ -1134,8 +1134,8 @@
    1134 1134
         int  frc, exp;
    
    1135 1135
     
    
    1136 1136
     
    
    1137
    -    if ( ( step > 0 && status.scale > 8.0f * status.scale_0 ) ||
    
    1138
    -         ( step < 0 && status.scale * 8.0f < status.scale_0 ) )
    
    1137
    +    if ( ( step > 0 && status.scale > 16.0f * status.scale_0 ) ||
    
    1138
    +         ( step < 0 && status.scale * 16.0f < status.scale_0 ) )
    
    1139 1139
           return;
    
    1140 1140
     
    
    1141 1141
         /* The floating scale is reversibly adjusted after decomposing it */
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]