浏览代码

Fix small visual bug in filesystem dock

Chaosus 6 年之前
父节点
当前提交
4f4bbfbb85
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      editor/filesystem_dock.cpp

+ 1 - 1
editor/filesystem_dock.cpp

@@ -353,7 +353,7 @@ void FileSystemDock::_notification(int p_what) {
 
 		} break;
 		case NOTIFICATION_THEME_CHANGED: {
-			if (tree->is_visible_in_tree()) {
+			if (is_visible_in_tree()) {
 				_update_display_mode(true);
 			}
 		} break;