When zooming we have to recompile the rotation GlList as zoom factor is required to calculate the rotation.
svn path=/trunk/KDE/kdebase/workspace/; revision=971915
This commit is contained in:
parent
f9be59fdc3
commit
d5c7fa7957
1 changed files with 2 additions and 0 deletions
|
@ -1913,9 +1913,11 @@ void CubeEffect::grabbedKeyboardEvent( QKeyEvent* e )
|
|||
case Qt::Key_Plus:
|
||||
zoom -= 10.0;
|
||||
zoom = qMax( -zPosition, zoom );
|
||||
recompileList = true;
|
||||
break;
|
||||
case Qt::Key_Minus:
|
||||
zoom += 10.0f;
|
||||
recompileList = true;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue