瀏覽代碼

Fix spacebar in WebGL

rdb 9 年之前
父節點
當前提交
de1b0ec705
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      panda/src/webgldisplay/webGLGraphicsWindow.cxx

+ 2 - 0
panda/src/webgldisplay/webGLGraphicsWindow.cxx

@@ -633,6 +633,8 @@ map_key(int which) {
     return KeyboardButton::caps_lock();
   case 27:
     return KeyboardButton::escape();
+  case 32:
+    return KeyboardButton::space();
   case 33:
     return KeyboardButton::page_up();
   case 34: