From 6f16b99a8d0672e1b23c56b1b1e9e44bc062d599 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 8 Jun 2004 19:56:35 +0000 Subject: [PATCH] fix flickering --- stepmania/src/WheelNotifyIcon.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stepmania/src/WheelNotifyIcon.cpp b/stepmania/src/WheelNotifyIcon.cpp index d6fd9162fb..32bb7ed580 100644 --- a/stepmania/src/WheelNotifyIcon.cpp +++ b/stepmania/src/WheelNotifyIcon.cpp @@ -52,6 +52,10 @@ void WheelNotifyIcon::SetFlags( Flags flags ) m_vIconsToShow.resize( min(m_vIconsToShow.size(),2u) ); // crop to most important 2 + + /* Make sure the right icon is selected, since we might be drawn before + * we get another update. */ + Update(0); } bool WheelNotifyIcon::EarlyAbortDraw()