From b45fffc501bd1f8955e4072920493499bbaf90de Mon Sep 17 00:00:00 2001 From: jazn Date: Mon, 21 Mar 2016 16:45:48 +0100 Subject: [PATCH] Remove of duplicated entry Remove of duplicated entry for elif (what==NOTIFICATION_THEME_CHANGED): --- tutorials/2d/custom_gui_controls.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/tutorials/2d/custom_gui_controls.rst b/tutorials/2d/custom_gui_controls.rst index 9d7077d81..533e6826b 100644 --- a/tutorials/2d/custom_gui_controls.rst +++ b/tutorials/2d/custom_gui_controls.rst @@ -135,9 +135,6 @@ exists, but can be checked with the _notification callback: elif (what==NOTIFICATION_VISIBILITY_CHANGED): pass # control became visible/invisible # check new status with is_visible() - elif (what==NOTIFICATION_THEME_CHANGED): - pass # theme used to draw the control changed - # update and redraw is recommended if using a theme elif (what==NOTIFICATION_RESIZED): pass # control changed size, check new size # with get_size()