yes
This commit is contained in:
@@ -52,7 +52,7 @@ public abstract class TemplateComboBase : FilterComboCache<Tuple<Template, strin
|
|||||||
if (path.Length > 0 && design.Name != path)
|
if (path.Length > 0 && design.Name != path)
|
||||||
{
|
{
|
||||||
var start = ImGui.GetItemRectMin();
|
var start = ImGui.GetItemRectMin();
|
||||||
var pos = start.X + ImGui.CalcTextSize((Dalamud.Bindings.ImGui.ImU8String)design.Name).X;
|
var pos = start.X + ImGui.CalcTextSize(design.Name.ToString()).X;
|
||||||
var maxSize = ImGui.GetWindowPos().X + ImGui.GetWindowContentRegionMax().X;
|
var maxSize = ImGui.GetWindowPos().X + ImGui.GetWindowContentRegionMax().X;
|
||||||
var remainingSpace = maxSize - pos;
|
var remainingSpace = maxSize - pos;
|
||||||
var requiredSize = ImGui.CalcTextSize(path).X + ImGui.GetStyle().ItemInnerSpacing.X;
|
var requiredSize = ImGui.CalcTextSize(path).X + ImGui.GetStyle().ItemInnerSpacing.X;
|
||||||
|
|||||||
Reference in New Issue
Block a user