fix zoom factor scale, remains double
BUG: 307609
This commit is contained in:
parent
c2a4f81927
commit
87bd9958cf
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ void ZoomEffect::reconfigure(ReconfigureFlags)
|
||||||
{
|
{
|
||||||
ZoomConfig::self()->readConfig();
|
ZoomConfig::self()->readConfig();
|
||||||
// On zoom-in and zoom-out change the zoom by the defined zoom-factor.
|
// On zoom-in and zoom-out change the zoom by the defined zoom-factor.
|
||||||
zoomFactor = qMax(0.1, ZoomConfig::zoomFactor()/100.0);
|
zoomFactor = qMax(0.1, ZoomConfig::zoomFactor());
|
||||||
// Visibility of the mouse-pointer.
|
// Visibility of the mouse-pointer.
|
||||||
mousePointer = MousePointerType(ZoomConfig::mousePointer());
|
mousePointer = MousePointerType(ZoomConfig::mousePointer());
|
||||||
// Track moving of the mouse.
|
// Track moving of the mouse.
|
||||||
|
|
Loading…
Reference in a new issue