lib: fix missing overrides

ref #27
This commit is contained in:
Vaxry 2024-04-08 11:46:28 +01:00
parent 033416cedc
commit 65507c093f

View file

@ -653,6 +653,8 @@ std::optional<std::string> CHyprcursorImplementation::loadTheme() {
SHAPE->images.push_back(SCursorImage{i.file, i.size, i.delayMs}); SHAPE->images.push_back(SCursorImage{i.file, i.size, i.delayMs});
} }
SHAPE->overrides = meta.parsedData.overrides;
for (auto& i : SHAPE->images) { for (auto& i : SHAPE->images) {
if (SHAPE->shapeType == SHAPE_INVALID) { if (SHAPE->shapeType == SHAPE_INVALID) {
if (i.filename.ends_with(".svg")) if (i.filename.ends_with(".svg"))