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

see #15734 - fix icon detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r13189 r13277  
    7272public class SelectAction extends MapMode implements ModifierExListener, KeyPressReleaseListener, SelectionEnded {
    7373
    74     private static final String NORMAL = "normal";
     74    private static final String NORMAL = /* ICON(cursor/)*/ "normal";
    7575
    7676    /**
     
    9292    enum SelectActionCursor {
    9393
    94         rect(NORMAL, "selection"),
    95         rect_add(NORMAL, "select_add"),
    96         rect_rm(NORMAL, "select_remove"),
    97         way(NORMAL, "select_way"),
    98         way_add(NORMAL, "select_way_add"),
    99         way_rm(NORMAL, "select_way_remove"),
    100         node(NORMAL, "select_node"),
    101         node_add(NORMAL, "select_node_add"),
    102         node_rm(NORMAL, "select_node_remove"),
    103         virtual_node(NORMAL, "addnode"),
    104         scale("scale", null),
    105         rotate("rotate", null),
    106         merge("crosshair", null),
    107         lasso(NORMAL, "rope"),
    108         merge_to_node("crosshair", "joinnode"),
     94        rect(NORMAL, /* ICON(cursor/modifier/)*/ "selection"),
     95        rect_add(NORMAL, /* ICON(cursor/modifier/)*/ "select_add"),
     96        rect_rm(NORMAL, /* ICON(cursor/modifier/)*/ "select_remove"),
     97        way(NORMAL, /* ICON(cursor/modifier/)*/ "select_way"),
     98        way_add(NORMAL, /* ICON(cursor/modifier/)*/ "select_way_add"),
     99        way_rm(NORMAL, /* ICON(cursor/modifier/)*/ "select_way_remove"),
     100        node(NORMAL, /* ICON(cursor/modifier/)*/ "select_node"),
     101        node_add(NORMAL, /* ICON(cursor/modifier/)*/ "select_node_add"),
     102        node_rm(NORMAL, /* ICON(cursor/modifier/)*/ "select_node_remove"),
     103        virtual_node(NORMAL, /* ICON(cursor/modifier/)*/ "addnode"),
     104        scale(/* ICON(cursor/)*/ "scale", null),
     105        rotate(/* ICON(cursor/)*/ "rotate", null),
     106        merge(/* ICON(cursor/)*/ "crosshair", null),
     107        lasso(NORMAL, /* ICON(cursor/modifier/)*/ "rope"),
     108        merge_to_node(/* ICON(cursor/)*/ "crosshair", /* ICON(cursor/modifier/)*/"joinnode"),
    109109        move(Cursor.MOVE_CURSOR);
    110110
Note: See TracChangeset for help on using the changeset viewer.