mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-06-04 14:38:45 +03:00
macos: EventSinkHostingView must not override mouse events
This breaks split resizing. Removing this doesn't seem to have negative effects for hidden titlebars (which it was originally made for).
This commit is contained in:
@ -15,18 +15,6 @@ class EventSinkHostingView<Content: View>: NSHostingView<Content> {
|
||||
return true
|
||||
}
|
||||
|
||||
override func mouseDown(with event: NSEvent) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
override func mouseDragged(with event: NSEvent) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
override func mouseUp(with event: NSEvent) {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
override var mouseDownCanMoveWindow: Bool {
|
||||
return false
|
||||
}
|
||||
|
Reference in New Issue
Block a user