Fix Find in files progress bar visual regression (from v8.8)

Regression is introduce by:
a23955742c

Ref: https://github.com/notepad-plus-plus/notepad-plus-plus/pull/16387#issuecomment-2848676406

Fix #16504
This commit is contained in:
Don Ho 2025-05-03 18:16:31 +02:00
parent 46b4d35c5d
commit e719c56708

View File

@ -6630,7 +6630,9 @@ LRESULT APIENTRY Progress::wndProc(HWND hwnd, UINT umsg, WPARAM wparam, LPARAM l
::FillRect(reinterpret_cast<HDC>(wparam), &rc, NppDarkMode::getDlgBackgroundBrush());
return TRUE;
}
break;
// With "break;" here it will cause the visual regression: https://community.notepad-plus-plus.org/topic/26815/notepad-v8-8-release/4?_=1746285454720
// Use "return TRUE;" instead.
return TRUE;
}
case WM_SETFOCUS: