vcl/osx/salframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 19badc601594a19b56cff14076435f96e51ce845 Author: Thorsten Wagner <thorsten.wagne...@gmail.com> AuthorDate: Sat Mar 6 23:35:11 2021 +0100 Commit: Adolfo Jayme Barrientos <fit...@ubuntu.com> CommitDate: Tue Mar 9 08:04:06 2021 +0100 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 <fit...@ubuntu.com> 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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits