From 209ececa9b974fdd0ed0ff52c6ef3e4958e2df3c Mon Sep 17 00:00:00 2001 From: martincameron Date: Mon, 4 Jan 2021 21:20:46 +0000 Subject: [PATCH] Escape to exit edit mode. --- Tracker3.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tracker3.java b/Tracker3.java index 4b650b4..eab680e 100644 --- a/Tracker3.java +++ b/Tracker3.java @@ -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;