Ignore:
Timestamp:
2009-07-08T21:50:32+02:00 (17 years ago)
Author:
Gubaer
Message:

new: replaced global conflict list by conflict list per layer, similar to datasets

File:
1 edited

Legend:

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

    r1725 r1750  
    240240     */
    241241    public void eventDispatched(AWTEvent event) {
    242         if(Main.map == null || Main.map.mapView == null || !Main.map.mapView.isDrawableLayer())
     242        if(Main.map == null || Main.map.mapView == null || !Main.map.mapView.isActiveLayerDrawable())
    243243            return;
    244244        updateKeyModifiers((InputEvent) event);
     
    251251     */
    252252    public void selectionChanged(Collection<? extends OsmPrimitive> newSelection) {
    253         if(!Main.map.mapView.isDrawableLayer())
     253        if(!Main.map.mapView.isActiveLayerDrawable())
    254254            return;
    255255        computeHelperLine();
     
    288288        if (e.getButton() != MouseEvent.BUTTON1)
    289289            return;
    290         if(!Main.map.mapView.isDrawableLayer())
     290        if(!Main.map.mapView.isActiveLayerDrawable())
    291291            return;
    292292
     
    576576
    577577    @Override public void mouseMoved(MouseEvent e) {
    578         if(!Main.map.mapView.isDrawableLayer())
     578        if(!Main.map.mapView.isActiveLayerDrawable())
    579579            return;
    580580
     
    705705     */
    706706    @Override public void mouseExited(MouseEvent e) {
    707         if(!Main.map.mapView.isDrawableLayer())
     707        if(!Main.map.mapView.isActiveLayerDrawable())
    708708            return;
    709709        mousePos = e.getPoint();
Note: See TracChangeset for help on using the changeset viewer.