Skip to content

Commit d16bf74

Browse files
sebgodclaude
andcommitted
Make Bus property public init on PixelWidgetBase
Allows host code (VkGuiRenderer) to set Bus via object initializer on child widgets it creates (VkPlannerTab, VkEquipmentTab, etc.). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2b156b8 commit d16bf74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/DIR.Lib/PixelWidgetBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public abstract class PixelWidgetBase<TSurface>(Renderer<TSurface> renderer) : I
3838
/// Optional signal bus for deferred inter-component communication.
3939
/// Set via object initializer at construction time.
4040
/// </summary>
41-
protected SignalBus? Bus { get; init; }
41+
public SignalBus? Bus { get; init; }
4242

4343
/// <summary>
4444
/// Posts a signal to the bus for delivery at the next <see cref="SignalBus.ProcessPending"/> call.

0 commit comments

Comments
 (0)