mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-28 11:29:18 +01:00
Merge branch 'net5' of github.com:goatcorp/Dalamud
This commit is contained in:
commit
ad66ab9be5
2 changed files with 11 additions and 1 deletions
|
|
@ -232,7 +232,9 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
|||
/// </summary>
|
||||
public void OpenPluginChangelogs()
|
||||
{
|
||||
// Changelog group
|
||||
this.categoryManager.CurrentGroupIdx = 3;
|
||||
// Plugins category
|
||||
this.categoryManager.CurrentCategoryIdx = 2;
|
||||
this.IsOpen = true;
|
||||
}
|
||||
|
|
@ -406,6 +408,11 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
|||
if (searchTextChanged)
|
||||
this.UpdateCategoriesOnSearchChange();
|
||||
|
||||
// Changelog group
|
||||
var isSortDisabled = this.categoryManager.CurrentGroupIdx == 3;
|
||||
if (isSortDisabled)
|
||||
ImGui.BeginDisabled();
|
||||
|
||||
ImGui.SameLine();
|
||||
ImGui.SetCursorPosY(downShift);
|
||||
ImGui.SetNextItemWidth(selectableWidth);
|
||||
|
|
@ -424,6 +431,9 @@ namespace Dalamud.Interface.Internal.Windows.PluginInstaller
|
|||
|
||||
ImGui.EndCombo();
|
||||
}
|
||||
|
||||
if (isSortDisabled)
|
||||
ImGui.EndDisabled();
|
||||
}
|
||||
|
||||
private void DrawFooter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue