Remove NOTIFICATION_ENTER_TREE when paired with NOTIFICATION_THEME_CHANGED
This commit is contained in:
parent
4808d01b2b
commit
4b817a565c
98 changed files with 262 additions and 473 deletions
|
|
@ -36,8 +36,7 @@
|
|||
|
||||
void CodeEdit::_notification(int p_what) {
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_THEME_CHANGED:
|
||||
case NOTIFICATION_ENTER_TREE: {
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
style_normal = get_theme_stylebox(SNAME("normal"));
|
||||
|
||||
font = get_theme_font(SNAME("font"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue