Переглянути джерело

Fixed typo on modal notification (#3619)

Wilson E. Alvarez 5 роки тому
батько
коміт
3deda2bd24
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      tutorials/gui/custom_gui_controls.rst

+ 1 - 1
tutorials/gui/custom_gui_controls.rst

@@ -181,7 +181,7 @@ exists, but which can be checked with the _notification callback:
             NOTIFICATION_RESIZED:
             NOTIFICATION_RESIZED:
                 pass # Control changed size; check new size
                 pass # Control changed size; check new size
                 # with get_size().
                 # with get_size().
-            NOTIFICATION_MODAL_CLOSED:
+            NOTIFICATION_MODAL_CLOSE:
                 pass # For modal pop-ups, notification
                 pass # For modal pop-ups, notification
                 # that the pop-up was closed.
                 # that the pop-up was closed.