mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 07:30:48 +00:00
Added PR119 Option to set scale factor in advanced settings (Set it to 2.0 on Mac retina displays)
This commit is contained in:
@@ -42,6 +42,7 @@ import java.awt.image.BufferedImage;
|
||||
import java.awt.image.VolatileImage;
|
||||
import java.io.IOException;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.lang.reflect.Method;
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
import java.net.URL;
|
||||
@@ -682,7 +683,7 @@ public class View {
|
||||
}
|
||||
return conf;
|
||||
}
|
||||
|
||||
|
||||
public static BufferedImage toCompatibleImage(BufferedImage image) {
|
||||
if (image.getColorModel().equals(getDefaultConfiguration().getColorModel())) {
|
||||
return image;
|
||||
|
||||
Reference in New Issue
Block a user