[studio] Add border to project explorer

This commit is contained in:
Gary Talent 2023-07-16 00:23:45 -05:00
parent 660c320ee9
commit 3b24d6dee7

View File

@ -37,7 +37,7 @@ ProjectExplorer::ProjectExplorer(turbine::Context *ctx) noexcept {
void ProjectExplorer::draw(turbine::Context *ctx) noexcept {
const auto viewport = ImGui::GetContentRegionAvail();
ImGui::BeginChild("ProjectExplorer", ImVec2(300, viewport.y));
ImGui::BeginChild("ProjectExplorer", ImVec2(300, viewport.y), true);
ImGui::SetNextItemOpen(true);
if (m_treeModel) {
m_treeModel->draw(ctx);