Преглед на файлове

Merge pull request #4566 from NathanLovato/fix/input-example-typo

Fix typo in input_examples.rst
Nathan Lovato преди 4 години
родител
ревизия
81e24ef93b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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");
             }