Browse Source

Clarify onGuiEvent comment on widgets

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

2
src/Application/ProjectionMappingState.cpp

@ -348,7 +348,7 @@ void ProjectionMappingState::onBackgroundPressed(Application * app, GuiBackgroun
void ProjectionMappingState::onGuiEvent(Application * app, GuiEvent & e){ void ProjectionMappingState::onGuiEvent(Application * app, GuiEvent & e){
// Scale widget now. More later. // Scale widget now. More widgets later.
if(e.widget == &Gui::instance()->getScaleWidget()){ if(e.widget == &Gui::instance()->getScaleWidget()){
if(e.args.type == e.args.Pressed){ if(e.args.type == e.args.Pressed){
_surfaceScaleBeforeTransform = _surfaceScaleBeforeTransform =

Loading…
Cancel
Save