]> gitweb.factorcode.org Git - factor.git/commitdiff
handle resize on key-down instead of key-up
authorDoug Coleman <erg@jobim.local>
Thu, 14 May 2009 19:08:51 +0000 (14:08 -0500)
committerDoug Coleman <erg@jobim.local>
Thu, 14 May 2009 19:08:51 +0000 (14:08 -0500)
extra/terrain/terrain.factor

index d6905144bb4a8be09da91b9d828ab329108c70bf..fb326ef534475d0a8aac50ddaad6b56f6b0b5aa8 100644 (file)
@@ -134,7 +134,7 @@ M: terrain-world tick-length
 
 
 terrain-world H{
-    { T{ key-up { mods { A+ } } { sym "RET" } } [ toggle-fullscreen ] }
+    { T{ key-down { mods { A+ } } { sym "RET" } } [ toggle-fullscreen ] }
 } set-gestures
 
 :: handle-input ( world -- )