mirror of
https://github.com/quantum5/win2xcur.git
synced 2025-04-24 10:11:57 -04:00
Merge beb30f2e95
into 8e71037f5f
This commit is contained in:
commit
84a62f3231
|
@ -10,3 +10,7 @@ def apply_to_frames(frames: List[CursorFrame], *, scale: float) -> None:
|
|||
int(round(cursor.image.width * scale)),
|
||||
int(round(cursor.image.height) * scale),
|
||||
)
|
||||
cursor.nominal = int(cursor.nominal * scale)
|
||||
hx,hy = cursor.hotspot
|
||||
cursor.hotspot = (int(hx * scale),int(hy*scale))
|
||||
|
||||
|
|
Loading…
Reference in a new issue