Skip to content
Permalink
Browse files

try 2

  • Loading branch information...
UnknownShadow200 committed Nov 2, 2019
1 parent 9b3d01d commit c7e861e42cea2457d212e52e0535c7506d899a53
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Window.c
@@ -2790,6 +2790,7 @@ void GLContext_SetFpsLimit(cc_bool vsync, float minFrameMs) {
#include <emscripten/emscripten.h>
#include <emscripten/html5.h>
#include <emscripten/key_codes.h>
static cc_bool keyboardOpen;

static void Window_RefreshBounds(void) {
emscripten_get_canvas_element_size(NULL, &Window_Width, &Window_Height);
@@ -3204,7 +3205,6 @@ EMSCRIPTEN_KEEPALIVE void SendFakeBackspace(void) {
Input_SetPressed(KEY_BACKSPACE, false);
}

static cc_bool keyboardOpen;
void Window_OpenKeyboard(void) {
if (!Input_TouchMode) return;
keyboardOpen = true;

0 comments on commit c7e861e

Please sign in to comment.
You can’t perform that action at this time.