UI hot-reloads if child widgets or stylesheet gets updated

This commit is contained in:
antopilo
2024-09-13 19:14:46 -04:00
parent ee852f7f3d
commit 6e92674bba
8 changed files with 76 additions and 11 deletions
+15
View File
@@ -84,6 +84,11 @@ FileType File::GetFileType() const
return FileType::UI;
}
if (ext == ".css")
{
return FileType::CSS;
}
return FileType::Unkown;
}
@@ -140,6 +145,16 @@ std::string File::GetFileTypeAsString() const
return "C# Script";
}
if (ext == ".html")
{
return "UI Layout";
}
if (ext == ".css")
{
return "StyleSheet";
}
return "File";
}