fixed resource input height
This commit is contained in:
parent
45e373934f
commit
4303389c5d
|
@ -1183,7 +1183,9 @@ struct AssetBrowserImpl : AssetBrowser {
|
|||
static TextFilter filter;
|
||||
filter.gui("Filter", width, focus);
|
||||
|
||||
ImGui::BeginChild("Resources", ImVec2(0, 200), false, ImGuiWindowFlags_HorizontalScrollbar);
|
||||
float h = ImGui::GetContentRegionAvail().y - ImGui::GetTextLineHeightWithSpacing() * 2;
|
||||
|
||||
ImGui::BeginChild("Resources", ImVec2(0, h), false, ImGuiWindowFlags_HorizontalScrollbar);
|
||||
AssetCompiler& compiler = m_app.getAssetCompiler();
|
||||
|
||||
const auto& resources = compiler.lockResources();
|
||||
|
|
Loading…
Reference in New Issue