fix: put redesigned CollapsingHeader back

This commit is contained in:
goat 2021-08-10 18:55:35 +02:00
parent fbd4176d59
commit 409ce984da
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -616,7 +616,7 @@ namespace Dalamud.Interface.Internal.Windows
ImGui.PushID($"available{index}{manifest.InternalName}"); ImGui.PushID($"available{index}{manifest.InternalName}");
if (ImGui.CollapsingHeader($"{label}###Header")) if (this.DrawPluginCollapsingHeader(label, manifest, false, false, index))
{ {
ImGuiHelpers.ScaledDummy(5); ImGuiHelpers.ScaledDummy(5);
@ -788,7 +788,7 @@ namespace Dalamud.Interface.Internal.Windows
ImGui.PushID($"installed{index}{plugin.Manifest.InternalName}"); ImGui.PushID($"installed{index}{plugin.Manifest.InternalName}");
if (ImGui.CollapsingHeader($"{label}###Header")) if (this.DrawPluginCollapsingHeader(label, plugin.Manifest, trouble, availablePluginUpdate != default, index))
{ {
var manifest = plugin.Manifest; var manifest = plugin.Manifest;