mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 18:38:20 -05:00
Allow user to close asset gui window
This commit is contained in:
@@ -37,8 +37,9 @@ GuiAssetComponent::GuiAssetComponent()
|
||||
{}
|
||||
|
||||
void GuiAssetComponent::render() {
|
||||
bool v = _isEnabled;
|
||||
ImGui::Begin("Assets", &v);
|
||||
bool e = _isEnabled;
|
||||
ImGui::Begin("Assets", &e);
|
||||
_isEnabled = e;
|
||||
|
||||
ImGui::Columns(2);
|
||||
ImGui::Separator();
|
||||
|
||||
Reference in New Issue
Block a user