mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 03:25:14 -04:00
try 2
This commit is contained in:
parent
9b3d01d9e8
commit
c7e861e42c
@ -2790,6 +2790,7 @@ void GLContext_SetFpsLimit(cc_bool vsync, float minFrameMs) {
|
|||||||
#include <emscripten/emscripten.h>
|
#include <emscripten/emscripten.h>
|
||||||
#include <emscripten/html5.h>
|
#include <emscripten/html5.h>
|
||||||
#include <emscripten/key_codes.h>
|
#include <emscripten/key_codes.h>
|
||||||
|
static cc_bool keyboardOpen;
|
||||||
|
|
||||||
static void Window_RefreshBounds(void) {
|
static void Window_RefreshBounds(void) {
|
||||||
emscripten_get_canvas_element_size(NULL, &Window_Width, &Window_Height);
|
emscripten_get_canvas_element_size(NULL, &Window_Width, &Window_Height);
|
||||||
@ -3204,7 +3205,6 @@ EMSCRIPTEN_KEEPALIVE void SendFakeBackspace(void) {
|
|||||||
Input_SetPressed(KEY_BACKSPACE, false);
|
Input_SetPressed(KEY_BACKSPACE, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
static cc_bool keyboardOpen;
|
|
||||||
void Window_OpenKeyboard(void) {
|
void Window_OpenKeyboard(void) {
|
||||||
if (!Input_TouchMode) return;
|
if (!Input_TouchMode) return;
|
||||||
keyboardOpen = true;
|
keyboardOpen = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user