Skip to content

Commit

Permalink
Hot fixes - animation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrypula committed Sep 30, 2018
1 parent 3c3f164 commit 31a2887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/templates/demo-browser.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@
function keypressHandler(instance, keyName) {
lastKeyName = keyName;

frameHandler(instance);

switch (keyName) {
case TerminalGameIo.Key.ArrowDown:
posY = (posY + 1) % BOARD_HEIGHT;
Expand All @@ -103,6 +101,8 @@
instance.exit();
break;
}

frameHandler(instance);
}

function handleClick(event, keyName) {
Expand Down

0 comments on commit 31a2887

Please sign in to comment.