mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-27 02:20:05 +00:00
Windows: Invalidate entire window when custom scale factor changes
This fixes a bug where the window area intersecting the old and new sizes would not be repainted correctly.
This commit is contained in:
parent
d371a31b78
commit
b4144aa78c
1 changed files with 1 additions and 0 deletions
|
|
@ -2036,6 +2036,7 @@ public:
|
|||
if (approximatelyEqual (prev, next))
|
||||
return;
|
||||
|
||||
InvalidateRect (hwnd, nullptr, FALSE);
|
||||
scaleFactorListeners.call ([&] (ScaleFactorListener& l) { l.nativeScaleFactorChanged (next); });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue