This commit is contained in:
Denis Fokin
2015-10-02 16:56:16 +03:00
parent 8736db12bc
commit a602a66bc0
@@ -3085,7 +3085,8 @@ public class UIUtil {
if (map == null) {
lcdContrastValue = 140;
} else {
lcdContrastValue = ((Integer)map.get(RenderingHints.KEY_TEXT_LCD_CONTRAST));
Object o = map.get(RenderingHints.KEY_TEXT_LCD_CONTRAST);
lcdContrastValue = (o == null) ? 140 : ((Integer)o);
}
}
}