1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Guard against NaN errors in Component::internalRepaintUnchecked()

This commit is contained in:
ed 2019-11-06 12:03:55 +00:00
parent 74b19b94b0
commit 621f6cb6a2

View file

@ -1845,6 +1845,9 @@ void Component::internalRepaintUnchecked (Rectangle<int> area, bool isEntireComp
: cachedImage->invalidate (area)))
return;
if (area.isEmpty())
return;
if (flags.hasHeavyweightPeerFlag)
{
if (auto* peer = getPeer())