From 79424e86dd7aa28c1b25868d86fa8ebffc801593 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Mon, 10 Mar 2025 12:45:14 -0400 Subject: Optimized AreaPopup indicators The list of indicators and the size of the window are calculated only when necessary (new connection, DPI changed, or hunt panel settings changed) and otherwise all we do is redraw the image. --- src/tracker_panel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tracker_panel.h') diff --git a/src/tracker_panel.h b/src/tracker_panel.h index b7067f5..ae89a35 100644 --- a/src/tracker_panel.h +++ b/src/tracker_panel.h @@ -17,7 +17,7 @@ class TrackerPanel : public wxPanel { public: TrackerPanel(wxWindow *parent); - void UpdateIndicators(); + void UpdateIndicators(bool reset); void SetPanelsMode(); -- cgit 1.4.1