Changeset 12724 in josm


Ignore:
Timestamp:
2017-09-04T20:16:46+02:00 (7 years ago)
Author:
bastiK
Message:

see #9995 - fix headless mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/HiDPISupport.java

    r12722 r12724  
    140140     */
    141141    private static double getHiDPIScale() {
     142        if (GraphicsEnvironment.isHeadless())
     143            return 1.0;
    142144        GraphicsConfiguration gc = GraphicsEnvironment
    143145                .getLocalGraphicsEnvironment()
Note: See TracChangeset for help on using the changeset viewer.