This commit is contained in:
Vaxry 2024-12-18 15:52:06 +00:00
parent 29159159f9
commit f8de2a65db

View file

@ -455,7 +455,7 @@ bool CHyprcursorManager::loadThemeStyle(const SCursorStyleInfo& info) {
if (shape->shapeType == SHAPE_PNG) { if (shape->shapeType == SHAPE_PNG) {
for (auto& image : impl->loadedShapes[shape.get()].images) { for (auto& image : impl->loadedShapes[shape.get()].images) {
if (image->side != info.size) if (image->side != std::round(info.size / shape->nominalSize))
continue; continue;
sizeFound = true; sizeFound = true;