mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 23:37:33 +09:00
Issue #1905 - Part 2a - Build system fixes to allow use of SDK versioned 11.0 and higher. Also don't include code incompatible with SDK 10.15 and higher, when building with such a SDK.
This commit is contained in:
parent
8cee7f2b18
commit
45606ffa59
3 changed files with 9 additions and 5 deletions
|
|
@ -209,6 +209,8 @@ uint32_t nsChildView::sLastInputEventCount = 0;
|
|||
+ (BOOL)_shouldZoomOnDoubleClick; // present on 10.7 and above
|
||||
@end
|
||||
|
||||
// This is only possible with SDKs below 10.15
|
||||
#ifndef MAC_OS_X_VERSION_10_15
|
||||
// Starting with 10.7 the bottom corners of all windows are rounded.
|
||||
// Unfortunately, the standard rounding that OS X applies to OpenGL views
|
||||
// does not use anti-aliasing and looks very crude. Since we want a smooth,
|
||||
|
|
@ -226,6 +228,7 @@ uint32_t nsChildView::sLastInputEventCount = 0;
|
|||
return region;
|
||||
}
|
||||
@end
|
||||
#endif
|
||||
|
||||
#pragma mark -
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue