muffin v7.5.1

This commit is contained in:
alydev 2026-05-01 08:59:48 +10:00
parent a6481e7b9a
commit 965a736f84
59 changed files with 4112 additions and 5059 deletions

View file

@ -24,9 +24,6 @@ internal sealed class QuestSelector(QuestRegistry questRegistry)
public void DrawSelection()
{
//IL_0144: Unknown result type (might be due to invalid IL or missing references)
//IL_0149: Unknown result type (might be due to invalid IL or missing references)
//IL_014b: Unknown result type (might be due to invalid IL or missing references)
if (QuestSelected == null)
{
throw new InvalidOperationException("QuestSelected action must be set before drawing the quest selector.");
@ -55,10 +52,9 @@ internal sealed class QuestSelector(QuestRegistry questRegistry)
{
enumerable = questRegistry.AllQuests.Where((Quest x) => DefaultPredicate?.Invoke(x) ?? true);
}
ChildDisposable val = ImRaii.Child((ImU8String)"##QuestScrollArea", new Vector2(0f, 300f), false);
try
using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("##QuestScrollArea", new Vector2(0f, 300f), border: false))
{
if (ChildDisposable.op_Implicit(val))
if ((bool)childDisposable)
{
foreach (Quest item in enumerable)
{
@ -75,10 +71,6 @@ internal sealed class QuestSelector(QuestRegistry questRegistry)
}
}
}
finally
{
((ChildDisposable)(ref val)).Dispose();
}
ImGui.EndCombo();
}
else