From bd38689539cb20836fe13862fd2e9de0cf087ff5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 4 Feb 2024 15:41:15 -0800 Subject: [PATCH] macos: make label fileprivate --- macos/Sources/Features/Terminal/TerminalToolbar.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macos/Sources/Features/Terminal/TerminalToolbar.swift b/macos/Sources/Features/Terminal/TerminalToolbar.swift index 5f100c624..b0857cb24 100644 --- a/macos/Sources/Features/Terminal/TerminalToolbar.swift +++ b/macos/Sources/Features/Terminal/TerminalToolbar.swift @@ -69,9 +69,9 @@ class TerminalToolbar: NSToolbar, NSToolbarDelegate { } /// A label that expands to fit whatever text you put in it and horizontally centers itself in the current window. -class CenteredDynamicLabel: NSTextField { +fileprivate class CenteredDynamicLabel: NSTextField { override func viewDidMoveToSuperview() { - // Truncate the title when it gets too long- cutting it off with an ellipsis. + // Truncate the title when it gets too long, cutting it off with an ellipsis. cell?.truncatesLastVisibleLine = true cell?.lineBreakMode = .byCharWrapping