mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-10-16 06:46:09 +00:00
macos: update accessory in the titlebar should not move the window
This is annoyingly easy to trigger, just disable this.
This commit is contained in:
@@ -108,7 +108,7 @@ class TerminalWindow: NSWindow {
|
||||
// Create update notification accessory
|
||||
if supportsUpdateAccessory {
|
||||
updateAccessory.layoutAttribute = .right
|
||||
updateAccessory.view = NSHostingView(rootView: UpdateAccessoryView(
|
||||
updateAccessory.view = NonDraggableHostingView(rootView: UpdateAccessoryView(
|
||||
viewModel: viewModel,
|
||||
model: appDelegate.updateViewModel
|
||||
))
|
||||
|
Reference in New Issue
Block a user