mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
macOS: Add URL to documentation in comment
This commit is contained in:
@ -415,6 +415,7 @@ extension Ghostty {
|
|||||||
// the compositor.
|
// the compositor.
|
||||||
//
|
//
|
||||||
// Ref: High Resolution Guidelines for OS X
|
// 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 {
|
if let window = window {
|
||||||
layer?.contentsScale = window.backingScaleFactor
|
layer?.contentsScale = window.backingScaleFactor
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user