1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-25 18:30:07 +00:00

Adds a proper shout out for releasing the mouse.

This commit is contained in:
Thomas Harte 2019-06-11 16:35:04 -04:00
parent 15c38e2f15
commit 567feaac10

View File

@ -252,6 +252,7 @@ class MachineDocument:
machine.clearAllKeys()
machine.joystickManager = nil
}
self.openGLView.releaseMouse()
}
func windowDidBecomeKey(_ notification: Notification) {
@ -281,6 +282,15 @@ class MachineDocument:
}
}
func mouseMoved(_ event: NSEvent) {
}
func mouseUp(_ event: NSEvent) {
}
func mouseDown(_ event: NSEvent) {
}
// MARK: New machine creation
@IBOutlet var machinePicker: MachinePicker?
@IBOutlet var machinePickerPanel: NSWindow?