macOS: remove background from SurfaceScrollView

This commit is contained in:
Lars
2025-10-16 23:52:07 +02:00
parent 0e0bbfaa61
commit cc91e2ad16

View File

@@ -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