|
|
@ -63,7 +63,9 @@ void Application::onKeyPressed(ofKeyEventArgs & args){ |
|
|
|
if(_keySequence.size() >= 3){ |
|
|
|
_keySequence = _keySequence.substr(_keySequence.size() - 3, 3); |
|
|
|
if(_keySequence == "new"){ |
|
|
|
_cmdManager.exec(new ClearSurfacesCmd()); |
|
|
|
if(SurfaceStack::instance()->size()){ |
|
|
|
_cmdManager.exec(new ClearSurfacesCmd(getSurfaceManager())); |
|
|
|
} |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|