summaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.h
diff options
context:
space:
mode:
authoreska <eska@eska.me>2016-11-23 23:53:38 +0100
committereska <eska@eska.me>2016-11-30 22:02:32 +0100
commit30e9ea5a8203e0f059c533def90c42f7ca7dc7c5 (patch)
treeabbcffffff1c34933ef14dc31e47b9b170863178 /platform/javascript/os_javascript.h
parenta6ae3204fb577cc61f09fa15c803669d477e2f42 (diff)
Fix some mouse bugs in WebAssembly/asm.js
- Emit mouse wheel release events - Set button masks, fixes #5092
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r--platform/javascript/os_javascript.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index 2dd14010eb..bdbf482ca9 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -59,6 +59,7 @@ private:
Vector<TouchPos> touch;
Point2 last_mouse;
+ int last_button_mask;
unsigned int last_id;
GFXInitFunc gfx_init_func;
void*gfx_init_ud;