From 0663d4574befe00fca316f294f3e922e50e3705f Mon Sep 17 00:00:00 2001 From: safronov Date: Wed, 19 May 2021 00:26:26 +0300 Subject: [PATCH] Fix --- YAFC/Widgets/ImmediateWidgets.cs | 2 +- YAFC/YAFC.csproj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/YAFC/Widgets/ImmediateWidgets.cs b/YAFC/Widgets/ImmediateWidgets.cs index 767234d7..d3a0a041 100644 --- a/YAFC/Widgets/ImmediateWidgets.cs +++ b/YAFC/Widgets/ImmediateWidgets.cs @@ -130,7 +130,7 @@ public static bool BuildInlineObjectList(this ImGui gui, IEnumerable list, public static void BuildInlineObejctListAndButton(this ImGui gui, ICollection list, IComparer ordering, Action select, string header, int count = 6, bool multiple = false, Predicate checkmark = null, bool allowNone = false, Func extra = null) where T:FactorioObject { - using (gui.EnterGroup(default, RectAllocator.LeftAlign)) + using (gui.EnterGroup(default, RectAllocator.Stretch)) { if (gui.BuildInlineObjectList(list, ordering, header, out var selected, count, checkmark, extra)) { diff --git a/YAFC/YAFC.csproj b/YAFC/YAFC.csproj index 6cf4bf0a..cbe04c9c 100644 --- a/YAFC/YAFC.csproj +++ b/YAFC/YAFC.csproj @@ -6,8 +6,8 @@ netcoreapp3.1 win-x64;linux-x64;osx-x64 x64 - 0.5.7 - 0.5.7 + 0.5.7.1 + 0.5.7.1