Browse Source

Remove a syntax error (#3079)

Soaku 5 years ago
parent
commit
8d17784142
1 changed files with 1 additions and 1 deletions
  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_CLOSED:
                 pass # For modal pop-ups, notification
                 pass # For modal pop-ups, notification
                 # that the pop-up was closed.
                 # that the pop-up was closed.