From 05b49d6c8cfc14cec858611e8c1c15378648ce9a Mon Sep 17 00:00:00 2001 From: Kalakoi Date: Wed, 21 May 2025 16:02:19 -0400 Subject: [PATCH] Modified competition overlay view to be referenceable from other windows. --- osrs-toolbox/Views/CompetitionOverlayView.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/osrs-toolbox/Views/CompetitionOverlayView.xaml.cs b/osrs-toolbox/Views/CompetitionOverlayView.xaml.cs index fc5bf2c..a55e534 100644 --- a/osrs-toolbox/Views/CompetitionOverlayView.xaml.cs +++ b/osrs-toolbox/Views/CompetitionOverlayView.xaml.cs @@ -19,9 +19,12 @@ namespace osrs_toolbox /// public partial class CompetitionOverlayView : Window { + public static CompetitionOverlayView Current; + public CompetitionOverlayView() { InitializeComponent(); + Current = this; } private void Window_MouseDown(object sender, MouseButtonEventArgs e)