mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-17 07:16:12 +00:00
style(macos): cleanup trailing spaces
This commit is contained in:
@@ -6,9 +6,9 @@ import Combine
|
||||
class ConfigurationErrorsController: NSWindowController, NSWindowDelegate, ConfigurationErrorsViewModel {
|
||||
/// Singleton for the errors view.
|
||||
static let sharedInstance = ConfigurationErrorsController()
|
||||
|
||||
|
||||
override var windowNibName: NSNib.Name? { "ConfigurationErrors" }
|
||||
|
||||
|
||||
/// The data model for this view. Update this directly and the associated view will be updated, too.
|
||||
@Published var errors: [String] = [] {
|
||||
didSet {
|
||||
@@ -17,13 +17,13 @@ class ConfigurationErrorsController: NSWindowController, NSWindowDelegate, Confi
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//MARK: - NSWindowController
|
||||
|
||||
|
||||
override func windowWillLoad() {
|
||||
shouldCascadeWindows = false
|
||||
}
|
||||
|
||||
|
||||
override func windowDidLoad() {
|
||||
guard let window = window else { return }
|
||||
window.center()
|
||||
|
Reference in New Issue
Block a user