Explorar o código

Fix spacebar in WebGL

rdb %!s(int64=9) %!d(string=hai) anos
pai
achega
de1b0ec705
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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: