Skip to content

Commit

Permalink
AppKitBackend: Remove default AppKit scroll view background
Browse files Browse the repository at this point in the history
  • Loading branch information
stackotter committed Sep 16, 2024
1 parent 97e548b commit bfc014d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/AppKitBackend/AppKitBackend.swift
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ public struct AppKitBackend: AppBackend {
documentView.translatesAutoresizingMaskIntoConstraints = false
documentView.addView(child, in: .top)
scrollView.documentView = documentView
scrollView.drawsBackground = false

documentView.topAnchor.constraint(equalTo: clipView.topAnchor).isActive = true
documentView.leftAnchor.constraint(equalTo: clipView.leftAnchor).isActive = true
Expand Down

0 comments on commit bfc014d

Please sign in to comment.