Skip to content

Commit

Permalink
thing
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Dec 18, 2024
1 parent 2915915 commit f8de2a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libhyprcursor/hyprcursor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ bool CHyprcursorManager::loadThemeStyle(const SCursorStyleInfo& info) {

if (shape->shapeType == SHAPE_PNG) {
for (auto& image : impl->loadedShapes[shape.get()].images) {
if (image->side != info.size)
if (image->side != std::round(info.size / shape->nominalSize))
continue;

sizeFound = true;
Expand Down

0 comments on commit f8de2a6

Please sign in to comment.