You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Fix the editor path icon when switching from dark to light theme
This commit is contained in:
@@ -132,6 +132,15 @@ void EditorPath::_id_pressed(int p_idx) {
|
||||
EditorNode::get_singleton()->push_item(obj);
|
||||
}
|
||||
|
||||
void EditorPath::_notification(int p_what) {
|
||||
|
||||
switch (p_what) {
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
update_path();
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
void EditorPath::_bind_methods() {
|
||||
|
||||
ClassDB::bind_method("_about_to_show", &EditorPath::_about_to_show);
|
||||
|
||||
Reference in New Issue
Block a user