NK-126 - Fixed File Browser Refresh

This commit is contained in:
Émeryc
2023-07-21 19:19:29 -04:00
parent 55abc9d63a
commit 24f9d092c1
6 changed files with 118 additions and 110 deletions

View File

@@ -50,7 +50,7 @@ namespace Nuake {
ImFont* normalFont;
ImFont* boldFont;
ImFont* EditorInterface::bigIconFont;
EditorInterface::EditorInterface()
{
filesystem = new FileSystemUI(this);

View File

@@ -8,6 +8,8 @@
#include <src/Scripting/WrenScript.h>
#include <Engine.h>
#include "src/Scene/Components/WrenScriptComponent.h"
EditorSelectionPanel::EditorSelectionPanel()
{
mTransformPanel = TransformPanel();

View File

@@ -13,6 +13,7 @@
namespace Nuake
{
Ref<Directory> FileSystemUI::m_CurrentDirectory;
// TODO: add filetree in same panel
void FileSystemUI::Draw()

View File

@@ -10,7 +10,7 @@ namespace Nuake {
EditorInterface* Editor;
public:
Ref<Directory> m_CurrentDirectory;
static Ref<Directory> m_CurrentDirectory;
bool m_hasClickedOnFile;
FileSystemUI(EditorInterface* editor)