Skip to content

Instantly share code, notes, and snippets.

@ccgus
Created August 22, 2017 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ccgus/de321e5a00894f8f7df57b78d7468ba8 to your computer and use it in GitHub Desktop.
Save ccgus/de321e5a00894f8f7df57b78d7468ba8 to your computer and use it in GitHub Desktop.
NSImageRep *originalCursorRep = [originalCursorImage bestRepresentationForRect:NSMakeRect(0, 0, [originalCursorImage size].width * retinaScale, [originalCursorImage size].height * retinaScale) context:nil hints:[NSDictionary dictionaryWithObject:[NSAffineTransform transform] forKey:NSImageHintCTM]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment