forked from dorkbox/SystemTray
Fixed menu image icon scaling for windows. (it is now disabled)
This commit is contained in:
parent
ea0244d095
commit
03e56adc02
@ -138,7 +138,7 @@ class ImageUtils {
|
|||||||
// casting around for rounding/math stuff
|
// casting around for rounding/math stuff
|
||||||
// *2 because we want a 2x scale to be 64, not 32.
|
// *2 because we want a 2x scale to be 64, not 32.
|
||||||
trayScalingFactor = (int) (((double) dpiX) / ((double) 96)) * 2;
|
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.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user