Browse Source

Make `ScaleSurface*` steps bigger

master
Krisjanis Rijnieks 9 years ago
parent
commit
4344bd3f6b
  1. 4
      src/Application/ProjectionMappingState.cpp

4
src/Application/ProjectionMappingState.cpp

@ -276,7 +276,7 @@ void ProjectionMappingState::onKeyPressed(Application * app, ofKeyEventArgs & ar
if(app->getSurfaceManager()->getSelectedSurface() != 0){ if(app->getSurfaceManager()->getSelectedSurface() != 0){
app->getCmdManager()->exec( app->getCmdManager()->exec(
new ScaleSurfaceUpCmd( new ScaleSurfaceUpCmd(
app->getSurfaceManager()->getSelectedSurface(), 0.1f)); app->getSurfaceManager()->getSelectedSurface(), 0.2f));
} }
break; break;
@ -284,7 +284,7 @@ void ProjectionMappingState::onKeyPressed(Application * app, ofKeyEventArgs & ar
if(app->getSurfaceManager()->getSelectedSurface() != 0){ if(app->getSurfaceManager()->getSelectedSurface() != 0){
app->getCmdManager()->exec( app->getCmdManager()->exec(
new ScaleSurfaceDnCmd( new ScaleSurfaceDnCmd(
app->getSurfaceManager()->getSelectedSurface(), 0.1f)); app->getSurfaceManager()->getSelectedSurface(), 0.2f));
} }
break; break;

Loading…
Cancel
Save