fix: Windows Background color issue (#14592)

Call InvalidateRect for windows after setting the bg color
This commit is contained in:
trop[bot]
2018-09-12 17:06:10 -05:00
committed by Charles Kerr
parent f924a16055
commit 7e5815c180

View File

@@ -788,6 +788,7 @@ void NativeWindowViews::SetBackgroundColor(SkColor background_color) {
reinterpret_cast<LONG_PTR>(brush));
if (previous_brush)
DeleteObject((HBRUSH)previous_brush);
InvalidateRect(GetAcceleratedWidget(), NULL, 1);
#endif
}