frontend: Skip background paint for invalid sizes

This commit is contained in:
Warchamp7
2026-02-12 13:42:20 -05:00
committed by Ryan Foster
parent a4f3c16065
commit 0755f475a6

View File

@@ -657,7 +657,7 @@ void VolumeMeter::paintVTicks(QPainter &painter, int x, int y, int height)
void VolumeMeter::updateBackgroundCache(bool force)
{
if (!force && !size().isValid()) {
if (!force && size().isEmpty()) {
return;
}