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:
Mitchell Hashimoto
2024-09-20 21:40:03 -07:00
parent 44e39326b3
commit 2c44e20860

View File

@ -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
}