diff options
author | Thorsten Wagner <thorsten.wagner.4@gmail.com> | 2021-03-06 23:35:11 +0100 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2021-03-09 08:04:06 +0100 |
commit | 19badc601594a19b56cff14076435f96e51ce845 (patch) | |
tree | 431a13e69a7f54b488636cc0b58e8387a035cb9b | |
parent | tdf#140833 show ScHeaderControl help tip after double click time has expired (diff) | |
download | core-19badc601594a19b56cff14076435f96e51ce845.tar.gz core-19badc601594a19b56cff14076435f96e51ce845.zip |
tdf#138314 Change selected tab text color on macOS Big Sur
Change text color of selected tabs starting with macOS 10.16 (not with
macOS 11.0) to ensure compatibilty with macOS SDKs prior to 11 used
within LibreOffice build process
Backport of d8fc89cdfd0043838c4bc2d3b5a50bf5abfc6738 to LibreOffice 7.1
Change-Id: Ib2b7042878596271c194331eaab1915d11124210
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112105
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r-- | vcl/osx/salframe.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx index 9d4f68827a06..b0fbce1e8a81 100644 --- a/vcl/osx/salframe.cxx +++ b/vcl/osx/salframe.cxx @@ -1328,7 +1328,7 @@ SAL_WNODEPRECATED_DECLARATIONS_POP // used for selected tab text. As a workaround the current OS version has to be considered. This code has to be reviewed once // issue is covered by documentation. - NSOperatingSystemVersion aOSVersion = { .majorVersion = 11, .minorVersion = 0, .patchVersion = 0 }; + NSOperatingSystemVersion aOSVersion = { .majorVersion = 10, .minorVersion = 16, .patchVersion = 0 }; if ([NSProcessInfo.processInfo isOperatingSystemAtLeastVersion: aOSVersion]) aStyleSettings.SetTabHighlightTextColor(aSelectedControlTextColor); else |