mirror of
https://github.com/hyprwm/hyprcursor.git
synced 2025-12-20 04:00:02 +01:00
core: fix resizing raster images
This commit is contained in:
parent
45fcc10b4c
commit
35c6fe201b
1 changed files with 1 additions and 1 deletions
|
|
@ -496,7 +496,7 @@ bool CHyprcursorManager::loadThemeStyle(const SCursorStyleInfo& info) {
|
|||
|
||||
Debug::log(HC_LOG_TRACE, logFn, "loadThemeStyle: png shape {} has {} frames", shape->directory, FRAMES.size());
|
||||
|
||||
const int PIXELSIDE = std::round(leader->side / shape->nominalSize);
|
||||
const int PIXELSIDE = std::round(info.size / shape->nominalSize);
|
||||
|
||||
Debug::log(HC_LOG_TRACE, logFn, "loadThemeStyle: png shape has nominal {:.2f}, pixel size will be {}x", shape->nominalSize, PIXELSIDE);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue