macOS: Add URL to documentation in comment

This commit is contained in:
Qwerasd
2024-02-05 15:41:33 -05:00
parent e91e2d409b
commit 7a4c97329e

View File

@ -415,6 +415,7 @@ extension Ghostty {
// the compositor.
//
// Ref: High Resolution Guidelines for OS X
// https://developer.apple.com/library/archive/documentation/GraphicsAnimation/Conceptual/HighResolutionOSX/CapturingScreenContents/CapturingScreenContents.html#//apple_ref/doc/uid/TP40012302-CH10-SW27
if let window = window {
layer?.contentsScale = window.backingScaleFactor
}