This commit is contained in:
Simon Lübeß
2023-03-25 13:04:02 +01:00
parent d54cdf43ee
commit 5893cfb74a
6 changed files with 99 additions and 245 deletions
@@ -10,6 +10,8 @@ namespace GlitchyEditor.EditWindows;
class PropertiesWindow : EditorWindow
{
public const String s_WindowTitle = "Properties";
private AssetPropertiesEditor _currentPropertiesEditor ~ delete _;
private bool _lockCurrentAsset;
@@ -28,7 +30,7 @@ class PropertiesWindow : EditorWindow
protected override void InternalShow()
{
defer { ImGui.End(); }
if(!ImGui.Begin("Properties", &_open, .None))
if(!ImGui.Begin(s_WindowTitle, &_open, .None))
return;
// TODO: make a little button in title bar?