mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 18:27:24 +01:00
Fix combos with irregular item spacing.
This commit is contained in:
parent
45a8cbcf89
commit
8c427e49e3
2 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ public sealed class DesignCombo : FilterComboCache<Design>
|
|||
CurrentSelectionIdx = (design?.Design?.Index ?? -1) + 1;
|
||||
var name = design?.Name(incognito) ?? string.Empty;
|
||||
if (Draw("##design", name, string.Empty, ImGui.GetContentRegionAvail().X,
|
||||
ImGui.GetTextLineHeight())
|
||||
ImGui.GetTextLineHeightWithSpacing())
|
||||
&& CurrentSelection != null)
|
||||
{
|
||||
if (autoDesignIndex >= 0)
|
||||
|
|
|
|||
|
|
@ -362,7 +362,7 @@ public class SetPanel
|
|||
CurrentSelectionIdx = _jobs.JobGroups.Values.IndexOf(j => j.Id == design.Jobs.Id);
|
||||
if (Draw("##JobGroups", design.Jobs.Name,
|
||||
"Select for which job groups this design should be applied.\nControl + Right-Click to set to all classes.",
|
||||
ImGui.GetContentRegionAvail().X, ImGui.GetTextLineHeight())
|
||||
ImGui.GetContentRegionAvail().X, ImGui.GetTextLineHeightWithSpacing())
|
||||
&& CurrentSelectionIdx >= 0)
|
||||
_manager.ChangeJobCondition(set, autoDesignIndex, CurrentSelection);
|
||||
else if (ImGui.GetIO().KeyCtrl && ImGui.IsItemClicked(ImGuiMouseButton.Right))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue