From 70af927ac8f312b0049dcd7de0cd150a876e1e49 Mon Sep 17 00:00:00 2001 From: Arne Kiesewetter Date: Fri, 19 Jul 2024 14:16:52 +0200 Subject: [PATCH] Update deps / version for new resonite build --- .../ComponentSelectorAdditions.csproj | 6 +++--- ComponentSelectorAdditions/Events/BuildButtonEvent.cs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ComponentSelectorAdditions/ComponentSelectorAdditions.csproj b/ComponentSelectorAdditions/ComponentSelectorAdditions.csproj index 8203b38..cb25363 100644 --- a/ComponentSelectorAdditions/ComponentSelectorAdditions.csproj +++ b/ComponentSelectorAdditions/ComponentSelectorAdditions.csproj @@ -11,7 +11,7 @@ ComponentSelectorAdditions Component Selector Additions Banane9 - 0.4.0-beta + 0.4.1-beta This MonkeyLoader mod for Resonite overhauls the Component Selector / Protoflux Node Selector to have a search, as well as favorites and recents categories. README.md LGPL-3.0-or-later @@ -36,7 +36,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - - + + diff --git a/ComponentSelectorAdditions/Events/BuildButtonEvent.cs b/ComponentSelectorAdditions/Events/BuildButtonEvent.cs index d895ab0..8ab6778 100644 --- a/ComponentSelectorAdditions/Events/BuildButtonEvent.cs +++ b/ComponentSelectorAdditions/Events/BuildButtonEvent.cs @@ -12,11 +12,11 @@ namespace ComponentSelectorAdditions.Events public abstract class BuildButtonEvent : CancelableBuildUIEvent { public bool IsDirectItem { get; } - public CategoryNode ItemCategory { get; } + public CategoryNode? ItemCategory { get; } public CategoryNode? RootCategory { get; } public ComponentSelector Selector { get; } - protected BuildButtonEvent(ComponentSelector selector, UIBuilder ui, CategoryNode? rootCategory, CategoryNode itemCategory, bool isDirectItem) : base(ui) + protected BuildButtonEvent(ComponentSelector selector, UIBuilder ui, CategoryNode? rootCategory, CategoryNode? itemCategory, bool isDirectItem) : base(ui) { Selector = selector; RootCategory = rootCategory;