diff --git a/VaettirNet.PixelsDice.Net/DieSender.cs b/VaettirNet.PixelsDice.Net/DieSender.cs index 1856a9a..72d49bd 100644 --- a/VaettirNet.PixelsDice.Net/DieSender.cs +++ b/VaettirNet.PixelsDice.Net/DieSender.cs @@ -91,9 +91,9 @@ private void RollStateChanged(PixelsDie source, RollState state, int value, int }); } - private async Task SendTestRoll() + public void SendTestRoll() { - await SendRoll(new RollMessage + _channel.Writer.TryWrite(new RollMessage { Die = new() { diff --git a/WpfUIDice/ProxyPage.xaml b/WpfUIDice/ProxyPage.xaml index 748f731..a645560 100644 --- a/WpfUIDice/ProxyPage.xaml +++ b/WpfUIDice/ProxyPage.xaml @@ -14,13 +14,15 @@ + -