mirror of
https://github.com/labwc/labwc.git
synced 2026-04-12 08:21:13 -04:00
Make initial scaling a float; prevent divide by zero
This commit is contained in:
parent
50066161b0
commit
ae2638b238
5 changed files with 8 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -603,7 +603,7 @@
|
|||
<magnifier>
|
||||
<width>400</width>
|
||||
<height>400</height>
|
||||
<initScale>2</initScale>
|
||||
<initScale>2.0</initScale>
|
||||
<increment>0.2</increment>
|
||||
<useFilter>true</useFilter>
|
||||
</magnifier>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue