[studio] Add border to project explorer
This commit is contained in:
parent
660c320ee9
commit
3b24d6dee7
@ -37,7 +37,7 @@ ProjectExplorer::ProjectExplorer(turbine::Context *ctx) noexcept {
|
|||||||
|
|
||||||
void ProjectExplorer::draw(turbine::Context *ctx) noexcept {
|
void ProjectExplorer::draw(turbine::Context *ctx) noexcept {
|
||||||
const auto viewport = ImGui::GetContentRegionAvail();
|
const auto viewport = ImGui::GetContentRegionAvail();
|
||||||
ImGui::BeginChild("ProjectExplorer", ImVec2(300, viewport.y));
|
ImGui::BeginChild("ProjectExplorer", ImVec2(300, viewport.y), true);
|
||||||
ImGui::SetNextItemOpen(true);
|
ImGui::SetNextItemOpen(true);
|
||||||
if (m_treeModel) {
|
if (m_treeModel) {
|
||||||
m_treeModel->draw(ctx);
|
m_treeModel->draw(ctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user