Ignore:
Timestamp:
2018-01-04T16:00:01+01:00 (2 years ago)
Author:
stoecker
Message:

see #15734 - fix icon detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/ScrollViewport.java

    r12866 r13277  
    128128        // UP
    129129        if ((direction & UP_DIRECTION) != 0) {
    130             addScrollButton(UP_DIRECTION, "svpUp", BorderLayout.NORTH);
     130            addScrollButton(UP_DIRECTION, /* ICON */ "svpUp", BorderLayout.NORTH);
    131131        }
    132132
    133133        // DOWN
    134134        if ((direction & DOWN_DIRECTION) != 0) {
    135             addScrollButton(DOWN_DIRECTION, "svpDown", BorderLayout.SOUTH);
     135            addScrollButton(DOWN_DIRECTION, /* ICON */ "svpDown", BorderLayout.SOUTH);
    136136        }
    137137
    138138        // LEFT
    139139        if ((direction & LEFT_DIRECTION) != 0) {
    140             addScrollButton(LEFT_DIRECTION, "svpLeft", BorderLayout.WEST);
     140            addScrollButton(LEFT_DIRECTION, /* ICON */ "svpLeft", BorderLayout.WEST);
    141141        }
    142142
    143143        // RIGHT
    144144        if ((direction & RIGHT_DIRECTION) != 0) {
    145             addScrollButton(RIGHT_DIRECTION, "svpRight", BorderLayout.EAST);
     145            addScrollButton(RIGHT_DIRECTION, /* ICON */ "svpRight", BorderLayout.EAST);
    146146        }
    147147
Note: See TracChangeset for help on using the changeset viewer.