Removed API check since we are at least on macOS 10.13
This commit is contained in:
parent
31b062423a
commit
43bc4d7ae1
|
@ -28,12 +28,7 @@ uint16_t const kMPUnknownKeyCode = UINT16_MAX;
|
||||||
|
|
||||||
- (MPModifiedKey)modifiedKeyValue {
|
- (MPModifiedKey)modifiedKeyValue {
|
||||||
MPModifiedKey key;
|
MPModifiedKey key;
|
||||||
if(@available(macOS 10.13, *)) {
|
|
||||||
[self getValue:&key size:sizeof(MPModifiedKey)];
|
[self getValue:&key size:sizeof(MPModifiedKey)];
|
||||||
}
|
|
||||||
else {
|
|
||||||
[self getValue:&key];
|
|
||||||
}
|
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue