Skip to content

Commit 26102ed

Browse files
Phillipussratz
authored andcommitted
Limit check for macOS major version to 14 for flipped splash image workaround
- As background image flipping is fixed in macOS 15 limit the version check to version 14 only
1 parent 860faa8 commit 26102ed

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal

1 file changed

+1
-1
lines changed

bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ private static Image getImage(Display display, InputStream input) {
861861
* (https://github.com/eclipse-platform/eclipse.platform.swt/issues/772) ,Splash
862862
* Screen gets flipped.As a workaround the image is flipped and returned.
863863
*/
864-
if (Integer.parseInt(System.getProperty("os.version").split("\\.")[0]) >= 14) { //$NON-NLS-1$ //$NON-NLS-2$
864+
if (Integer.parseInt(System.getProperty("os.version").split("\\.")[0]) == 14) { //$NON-NLS-1$ //$NON-NLS-2$
865865
GC gc = new GC(image);
866866
Transform tr = new Transform(display);
867867
tr.setElements(1, 0, 0, -1, 0, 0);

0 commit comments

Comments
 (0)