fix magnifier effect exit
precision is usually enough to end on exactly "1.0" so the effect was "hidden" but the mouse still polled.
This commit is contained in:
parent
2f46414ea7
commit
57485cfefc
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ void MagnifierEffect::zoomIn()
|
|||
void MagnifierEffect::zoomOut()
|
||||
{
|
||||
target_zoom /= 1.2;
|
||||
if (target_zoom < 1) {
|
||||
if (target_zoom <= 1) {
|
||||
target_zoom = 1;
|
||||
if (polling) {
|
||||
polling = false;
|
||||
|
|
Loading…
Reference in a new issue