From 03e56adc029fc7583da8989fd443c322a3ae7d8f Mon Sep 17 00:00:00 2001 From: nathan Date: Wed, 25 Jan 2017 21:12:00 +0100 Subject: [PATCH] Fixed menu image icon scaling for windows. (it is now disabled) --- src/dorkbox/systemTray/util/ImageUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dorkbox/systemTray/util/ImageUtils.java b/src/dorkbox/systemTray/util/ImageUtils.java index 7eea44c..3371b1d 100644 --- a/src/dorkbox/systemTray/util/ImageUtils.java +++ b/src/dorkbox/systemTray/util/ImageUtils.java @@ -138,7 +138,7 @@ class ImageUtils { // casting around for rounding/math stuff // *2 because we want a 2x scale to be 64, not 32. trayScalingFactor = (int) (((double) dpiX) / ((double) 96)) * 2; - menuScalingFactor = trayScalingFactor; + // we don't want to scale the size of the menu, because java/swing takes care of scaling for us. }