config: use removeEmpty for the gradient varlist (#565)

This commit is contained in:
Maximilian Seidler 2024-11-19 14:35:53 +01:00 committed by GitHub
parent b9cf5151ba
commit 578246b996
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,7 +78,7 @@ static Hyprlang::CParseResult configHandleGradientSet(const char* VALUE, void**
const auto DATA = reinterpret_cast<CGradientValueData*>(*data); const auto DATA = reinterpret_cast<CGradientValueData*>(*data);
CVarList varlist(V, 0, ' '); CVarList varlist(V, 0, ' ', true);
DATA->m_vColors.clear(); DATA->m_vColors.clear();
DATA->m_bIsFallback = false; DATA->m_bIsFallback = false;