import AppKit /// The translation panel. It can become the key window without activating the app, so Esc and the /// keyboard shortcuts work as soon as it is shown. final class TranslationPanel: NSPanel { override var canBecomeKey: Bool { true } override var canBecomeMain: Bool { false } }