Make initial scaling a float; prevent divide by zero

This commit is contained in:
Simon Long 2024-05-15 22:50:45 +01:00
parent 50066161b0
commit ae2638b238
5 changed files with 8 additions and 5 deletions

View file

@ -932,7 +932,7 @@ situation.
*<magnifier><initScale>*
Initial number of times by which magnified image is scaled. Value
is the default at boot; can be modified at run-time in a keyboard
or mouse binding by calling 'ZoomIn' or 'ZoomOut'. Default is x2.
or mouse binding by calling 'ZoomIn' or 'ZoomOut'. Default is x2.0.
*<magnifier><increment>*
Step by which magnification changes on each call to 'ZoomIn' or