From cc91e2ad1679b730ed8f174c35fa4d09eac77632 Mon Sep 17 00:00:00 2001 From: Lars <134181853+bo2themax@users.noreply.github.com> Date: Thu, 16 Oct 2025 23:52:07 +0200 Subject: [PATCH] macOS: remove background from SurfaceScrollView --- macos/Sources/Ghostty/SurfaceScrollView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/macos/Sources/Ghostty/SurfaceScrollView.swift b/macos/Sources/Ghostty/SurfaceScrollView.swift index 44003e85f..7bec9249f 100644 --- a/macos/Sources/Ghostty/SurfaceScrollView.swift +++ b/macos/Sources/Ghostty/SurfaceScrollView.swift @@ -34,6 +34,8 @@ class SurfaceScrollView: NSView { scrollView.hasHorizontalScroller = false scrollView.autohidesScrollers = true scrollView.usesPredominantAxisScrolling = true + // hide default background to show blur effect properly + scrollView.drawsBackground = false // The document view is what the scrollview is actually going // to be directly scrolling. We set it up to a "blank" NSView