Permalink
Browse files

ui: do not redraw standby guys

  • Loading branch information...
1 parent 89e2346 commit c53722014ac8d9e87e3446429a9a47840c30a111 @indutny committed Feb 18, 2012
Showing with 4 additions and 2 deletions.
  1. +1 −1 package.json
  2. +3 −1 public/javascripts/main.js
View
@@ -1,6 +1,6 @@
{
"name": "home",
- "version": "0.1.3",
+ "version": "0.1.4",
"private": true,
"dependencies": {
"express": "2.5.x",
@@ -234,7 +234,9 @@
this._index = (this._index + 1) % this._active.length;
}
this._current = this._active[this._index];
- redraw();
+ if (this.mode !== 'standby') {
+ redraw();
+ }
};
Man.prototype.draw = function draw() {

0 comments on commit c537220

Please sign in to comment.