fix: Windows Background color issue (#14561)
Call InvalidateRect for windows after setting the bg color
This commit is contained in:
parent
7b71d7cbce
commit
e90c281ef3
1 changed files with 1 additions and 0 deletions
|
@ -792,6 +792,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor background_color) {
|
|||
reinterpret_cast<LONG_PTR>(brush));
|
||||
if (previous_brush)
|
||||
DeleteObject((HBRUSH)previous_brush);
|
||||
InvalidateRect(GetAcceleratedWidget(), NULL, 1);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue