Skip to content

Commit

Permalink
Escape to exit edit mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
martincameron committed Jan 4, 2021
1 parent b54ac92 commit 209ecec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tracker3.java
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,9 @@ private void keyPattern( int gadnum, char chr, int key, boolean shift )
{
switch( key )
{
case KEY_ESCAPE:
chn = -1;
break;
case KEY_HOME:
row2 = 0;
gadValue[ GADNUM_PATTERN_SLIDER ] = 0;
Expand Down

0 comments on commit 209ecec

Please sign in to comment.