mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 15:31:09 +00:00
Adds a proper shout out for releasing the mouse.
This commit is contained in:
parent
15c38e2f15
commit
567feaac10
@ -252,6 +252,7 @@ class MachineDocument:
|
|||||||
machine.clearAllKeys()
|
machine.clearAllKeys()
|
||||||
machine.joystickManager = nil
|
machine.joystickManager = nil
|
||||||
}
|
}
|
||||||
|
self.openGLView.releaseMouse()
|
||||||
}
|
}
|
||||||
|
|
||||||
func windowDidBecomeKey(_ notification: Notification) {
|
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
|
// MARK: New machine creation
|
||||||
@IBOutlet var machinePicker: MachinePicker?
|
@IBOutlet var machinePicker: MachinePicker?
|
||||||
@IBOutlet var machinePickerPanel: NSWindow?
|
@IBOutlet var machinePickerPanel: NSWindow?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user