Explorar el Código

fix: SDL key Ubuntu,Mint

micha hace 8 meses
padre
commit
acc894f33d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tksdl/fix.py

+ 1 - 1
tksdl/fix.py

@@ -900,7 +900,7 @@ while 1:
                     if event.type in [5,1025]:#press
                         mouse_down = 1
                         mouse_pos1 = [event.pos[0],event.pos[1]]
-                    if event.type in [6,1025]:#release
+                    if event.type in [6,1026]:#release
                         mouse_down = 0
 
                 mouse_pos2 = [event.pos[0],event.pos[1]]