Skip to content

Commit

Permalink
ESC key to redraw screen (clear display glitches)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbarton committed Sep 7, 2016
1 parent cbb2275 commit 7e831fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/snCore/snKeyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ snCore.Keyboard = {



//Keystroke is a user-active eveny. Clear Persistent Toasts
//Keystroke is a user-active event. Clear Persistent Toasts
snCore.Toast.clear_all_persistent();


Expand Down Expand Up @@ -112,6 +112,9 @@ snCore.Keyboard = {
snCore.Toast.clear_all();
//also remove the keyboard-based picker to define a word
snCore.DefineWord.KPicker_cycler('clear');

//also, (and really just as an alternative for fixing display bugs at the root) let this redraw all.
snCore.Event.DrawAll();
}

if(keyPressed == '2'){
Expand Down

0 comments on commit 7e831fd

Please sign in to comment.