Changeset 35864 in osm for applications/editors/josm/plugins/FastDraw/src/org
- Timestamp:
- 2021-11-11T09:31:30+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FastDraw/src/org/openstreetmap/josm/plugins/fastdraw/FastDrawingMode.java
r35360 r35864 40 40 import org.openstreetmap.josm.gui.layer.Layer; 41 41 import org.openstreetmap.josm.gui.layer.MapViewPaintable; 42 import org.openstreetmap.josm.gui.layer.OsmDataLayer;43 42 import org.openstreetmap.josm.gui.util.KeyPressReleaseListener; 44 43 import org.openstreetmap.josm.gui.util.ModifierExListener; … … 99 98 @Override 100 99 public void enterMode() { 100 if (!isEnabled()) 101 return; 101 102 super.enterMode(); 102 103 lineWasSaved = false; … … 141 142 @Override 142 143 public boolean layerIsSupported(Layer l) { 143 return l instanceof OsmDataLayer;144 return isEditableDataLayer(l); 144 145 } 145 146
Note:
See TracChangeset
for help on using the changeset viewer.