This commit is contained in:
Kedaya 2024-12-18 14:13:11 +00:00 committed by GitHub
commit 84a62f3231
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,3 +10,7 @@ def apply_to_frames(frames: List[CursorFrame], *, scale: float) -> None:
int(round(cursor.image.width * scale)), int(round(cursor.image.width * scale)),
int(round(cursor.image.height) * 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))