Update gui.cxx

This commit is contained in:
vale981 2018-03-26 19:55:14 +02:00 committed by GitHub
parent 429180f9df
commit 26fbdf95a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -881,7 +881,7 @@ int Gui::keyboardHandler(int event)
}
// keyboard arrows / space to special key mapping
if ( Fl::event_key( 32 ) && Fl::event_key( FL_SHIFT ) ) { //spacebar + shift
if ( Fl::event_key( 32 ) && Fl::event_state( FL_SHIFT ) ) { //spacebar + shift
EventGridState e( gui->specialTrack, gui->specialScene, GridLogic::STATE_EMPTY );
writeToDspRingbuffer( &e );
return 1;