mirror of
https://github.com/Ottermandias/Glamourer.git
synced 2025-12-12 10:17:23 +01:00
ImGui Compat
This commit is contained in:
parent
7b2ea0273c
commit
4d70625b13
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ namespace Glamourer.Gui
|
|||
var ret = ImGui.Selectable(i.Name);
|
||||
var setId = $"({(int) i.MainModel.id})";
|
||||
var size = ImGui.CalcTextSize(setId).X;
|
||||
ImGui.SameLine(ImGui.GetWindowContentRegionWidth() - size - ImGui.GetStyle().ItemInnerSpacing.X);
|
||||
ImGui.SameLine(ImGui.GetWindowContentRegionMax().X - ImGui.GetWindowContentRegionMin().X - size - ImGui.GetStyle().ItemInnerSpacing.X);
|
||||
ImGui.TextColored(GreyVector, setId);
|
||||
return ret;
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue