         titleDragButton?.title = ""
  
         NSAnimationContext.runAnimationGroup({ (context) in
-            context.duration = 0.1
+            context.duration = mouseIdle ? 1.0 : 0.2
 
             panel.animator().titleVisibility = (autoHideTitlePreference != .never) ? mouseOver ? .visible : .hidden : .visible
             titleDragButton?.animator().layer?.backgroundColor = mouseOver ? NSColor(hex: 0x3399FF).cgColor : NSColor.clear.cgColor

        DispatchQueue.main.async {
            self.mouseOver = true
        }
        /*
        if self.autoHideTitlePreference == .outside {
            self.fadeTimer = Timer.scheduledTimer(withTimeInterval: 5.0, repeats: false, block: { (timer) in
                if self.mouseOver, timer.isValid {
                    timer.invalidate()
                    DispatchQueue.main.async {
                        self.mouseExited(with: theEvent)
                        Swift.print("mouseWasSet()")
                    }
                }
            })
            if let timer = self.fadeTimer { RunLoop.current.add(timer, forMode: .common) }
        }*/
    }
    
    override func mouseExited(with theEvent: NSEvent) {

    @objc @IBAction func autoHideTitlePress(_ sender: NSMenuItem) {
        guard autoHideTitlePreference.rawValue != sender.tag else { return }
        
        autoHideTitlePreference = HeliumPanelController.AutoHideTitlePreference(rawValue: sender.tag)!

        installTitleFader()

        updateTitleBar(didChange: true)
        cacheSettings()
    }
