Selaa lähdekoodia

Fix typo in input_examples.rst

Nathan Lovato 4 vuotta sitten
vanhempi
commit
359f09343a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tutorials/inputs/input_examples.rst

+ 1 - 1
tutorials/inputs/input_examples.rst

@@ -203,7 +203,7 @@ the :kbd:`T`:
     {
         if (inputEvent is InputEventKey keyEvent && keyEvent.Pressed)
         {
-            if ((Keylist)keyEvent.Keycode == KeyList.T)
+            if ((KeyList)keyEvent.Keycode == KeyList.T)
             {
                 GD.Print("T was pressed");
             }