File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Source/RunActivity/Viewer3D Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -321,7 +321,7 @@ public override void HandleUserInput(ElapsedTime elapsedTime)
321321 train . DbfEvalValueChanged = true ; //Debrief eval
322322 }
323323 }
324- else if ( UserInput . IsReleased ( command ) || SwitchPanelModule . IsUp ( command ) )
324+ else if ( UserInput . IsReleased ( command ) )
325325 {
326326 UserInputCommands [ command ] [ 0 ] ( ) ;
327327 //Debrief eval
Original file line number Diff line number Diff line change @@ -157,7 +157,8 @@ public static bool IsReleased(UserCommand command)
157157 if ( RDState != null && RDState . IsReleased ( command ) )
158158 return true ;
159159 var setting = InputSettings . Commands [ ( int ) command ] ;
160- return ! setting . IsKeyDown ( KeyboardState ) && setting . IsKeyDown ( LastKeyboardState ) ;
160+ return ( ! setting . IsKeyDown ( KeyboardState ) && setting . IsKeyDown ( LastKeyboardState ) ) ||
161+ SwitchPanelModule . IsUp ( command ) ;
161162 }
162163
163164 public static bool IsDown ( UserCommand command )
You can’t perform that action at this time.
0 commit comments