Browse Source

Merge branch 'phoekz-master'

vurtun 9 years ago
parent
commit
c6652be288
1 changed files with 0 additions and 1 deletions
  1. 0 1
      nuklear.h

+ 0 - 1
nuklear.h

@@ -10001,7 +10001,6 @@ nk_input_key(struct nk_context *ctx, enum nk_keys key, int down)
     NK_ASSERT(ctx);
     NK_ASSERT(ctx);
     if (!ctx) return;
     if (!ctx) return;
     in = &ctx->input;
     in = &ctx->input;
-    if (in->keyboard.keys[key].down == down) return;
     in->keyboard.keys[key].down = down;
     in->keyboard.keys[key].down = down;
     in->keyboard.keys[key].clicked++;
     in->keyboard.keys[key].clicked++;
 }
 }