You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid redrawing background shadow on progress message updates
Use MSG_KEEPBACKGROUND on subsequent progress Message() calls to
prevent re-darkening the background on every update. This fixes
visible flicker during:
- Directory size calculation (F3)
- Editor file loading (F4 on large files)
- Editor file saving
- Editor search with progress bar
- Panel directory reading progress
Track whether progress message has been shown with a bool flag
in each loop, pass MSG_KEEPBACKGROUND on second and subsequent
calls. PreRedraw callbacks are left unchanged (flags=0) since
they run after full screen repaint where the popup must be fully
redrawn including border and shadow.
0 commit comments